Skip to content

Commit

Permalink
Merge c73206d into 07dd31d
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekSi committed Jun 15, 2019
2 parents 07dd31d + c73206d commit 76cc5c7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 deletions.
8 changes: 3 additions & 5 deletions cmd/postgres_exporter/postgres_exporter.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package main

import (
"crypto/sha256"
"database/sql"
"errors"
"fmt"
Expand All @@ -16,16 +17,13 @@ import (
"sync"
"time"

"gopkg.in/alecthomas/kingpin.v2"
"gopkg.in/yaml.v2"

"crypto/sha256"

"github.com/blang/semver"
"github.com/lib/pq"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promhttp"
"github.com/prometheus/common/log"
"gopkg.in/alecthomas/kingpin.v2"
"gopkg.in/yaml.v2"
)

// Version is set during build to the git describe version
Expand Down
6 changes: 2 additions & 4 deletions cmd/postgres_exporter/postgres_exporter_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,14 @@
package main

import (
"fmt"
"os"
"strings"
"testing"

. "gopkg.in/check.v1"

"fmt"

_ "github.com/lib/pq"
"github.com/prometheus/client_golang/prometheus"
. "gopkg.in/check.v1"
)

// Hook up gocheck into the "go test" runner.
Expand Down
6 changes: 2 additions & 4 deletions cmd/postgres_exporter/postgres_exporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@
package main

import (
"os"
"reflect"
"testing"

. "gopkg.in/check.v1"

"os"

"github.com/blang/semver"
"github.com/prometheus/client_golang/prometheus"
. "gopkg.in/check.v1"
)

// Hook up gocheck into the "go test" runner.
Expand Down

0 comments on commit 76cc5c7

Please sign in to comment.