mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-28 23:19:46 -08:00
Fix golint issue caused by typo
Signed-off-by: Hu Shuai <hus.fnst@cn.fujitsu.com>
This commit is contained in:
parent
504f9b785c
commit
5ee20043a7
|
@ -36,7 +36,7 @@ func init() {
|
||||||
registerCollector("network_route", defaultDisabled, NewNetworkRouteCollector)
|
registerCollector("network_route", defaultDisabled, NewNetworkRouteCollector)
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewSystemdCollector returns a new Collector exposing systemd statistics.
|
// NewNetworkRouteCollector returns a new Collector exposing systemd statistics.
|
||||||
func NewNetworkRouteCollector(logger log.Logger) (Collector, error) {
|
func NewNetworkRouteCollector(logger log.Logger) (Collector, error) {
|
||||||
const subsystem = "network"
|
const subsystem = "network"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue