From 55531314eddaa122086d61cb22b2fce5968e832e Mon Sep 17 00:00:00 2001 From: Enrico Stahn Date: Sun, 18 Feb 2018 20:51:02 +1100 Subject: [PATCH] Update package path --- .gitignore | 2 +- cmd/get.go | 2 +- cmd/root.go | 2 +- cmd/server.go | 2 +- main.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index a1338d6..394a6e6 100644 --- a/.gitignore +++ b/.gitignore @@ -11,4 +11,4 @@ *.out # Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736 -.glide/ +.vendor/ \ No newline at end of file diff --git a/cmd/get.go b/cmd/get.go index 85741d3..9266278 100644 --- a/cmd/get.go +++ b/cmd/get.go @@ -20,7 +20,7 @@ import ( "fmt" "time" "encoding/json" - "../phpfpm" + "github.com/hipages/php-fpm_exporter/phpfpm" ) // Configuration variables diff --git a/cmd/root.go b/cmd/root.go index 4a224d2..9842237 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" - "../phpfpm" + "github.com/hipages/php-fpm_exporter/phpfpm" ) var log = logrus.New() diff --git a/cmd/server.go b/cmd/server.go index 56fc0da..25e38e1 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" - "../phpfpm" + "github.com/hipages/php-fpm_exporter/phpfpm" ) // Configuration variables diff --git a/main.go b/main.go index 3bd13f7..309852e 100644 --- a/main.go +++ b/main.go @@ -13,7 +13,7 @@ package main -import "./cmd" +import "github.com/hipages/php-fpm_exporter/cmd" func main() { cmd.Execute()