Fix golint issue caused by typo

Signed-off-by: Hu Shuai <hus.fnst@cn.fujitsu.com>
This commit is contained in:
Hu Shuai 2021-05-11 09:55:52 +08:00
parent 504f9b785c
commit 5ee20043a7

View file

@ -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"