Skip to content

Commit 2d2e36d

Browse files
committed
Refactor PR #157 to fit the new repository format.
This didn't actually need all that much change, it fits perfectly.
1 parent 2ab8f10 commit 2d2e36d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

main.go renamed to cmd/postgres_exporter/main.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@ import (
55
"net/http"
66
"runtime"
77

8+
"gopkg.in/alecthomas/kingpin.v2"
9+
810
_ "github.com/lib/pq"
911
"github.com/prometheus/client_golang/prometheus"
1012
"github.com/prometheus/client_golang/prometheus/promhttp"
1113
"github.com/prometheus/common/log"
14+
1215
"github.com/wrouesnel/postgres_exporter/collector"
13-
"gopkg.in/alecthomas/kingpin.v2"
1416
)
1517

1618
// Version is set during build to the git describe version

0 commit comments

Comments
 (0)