From dc0bdca466969a144280ac32cec5e5b4a665a3f4 Mon Sep 17 00:00:00 2001 From: Enrico Stahn Date: Sun, 18 Feb 2018 12:06:48 +1100 Subject: [PATCH] Use local path to import local packages --- cmd/get.go | 2 +- cmd/root.go | 2 +- cmd/server.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/get.go b/cmd/get.go index 24b1b56..85741d3 100644 --- a/cmd/get.go +++ b/cmd/get.go @@ -19,8 +19,8 @@ import ( "github.com/gosuri/uitable" "fmt" "time" - "php-fpm_exporter/phpfpm" "encoding/json" + "../phpfpm" ) // Configuration variables diff --git a/cmd/root.go b/cmd/root.go index 9d17a2c..4a224d2 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -21,7 +21,7 @@ import ( "github.com/spf13/cobra" "github.com/spf13/viper" "github.com/sirupsen/logrus" - "php-fpm_exporter/phpfpm" + "../phpfpm" ) var log = logrus.New() diff --git a/cmd/server.go b/cmd/server.go index cedabfd..56fc0da 100644 --- a/cmd/server.go +++ b/cmd/server.go @@ -18,7 +18,7 @@ import ( "github.com/prometheus/client_golang/prometheus" "net/http" "github.com/prometheus/client_golang/prometheus/promhttp" - "php-fpm_exporter/phpfpm" + "../phpfpm" ) // Configuration variables