From e74048224f3e2d5622a13e14e7e088455845bcb5 Mon Sep 17 00:00:00 2001 From: Johannes 'fish' Ziemke Date: Fri, 7 Feb 2014 19:01:04 +0100 Subject: [PATCH] Apply go-runit changes: Specify service directory --- exporter/runit_collector.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exporter/runit_collector.go b/exporter/runit_collector.go index f48f4f6f..c4276514 100644 --- a/exporter/runit_collector.go +++ b/exporter/runit_collector.go @@ -49,7 +49,7 @@ func NewRunitCollector(config config, registry prometheus.Registry) (runitCollec func (c *runitCollector) Name() string { return c.name } func (c *runitCollector) Update() (updates int, err error) { - services, err := runit.GetServices() + services, err := runit.GetServices("/etc/service") if err != nil { return 0, err }