Skip to content

Commit

Permalink
Update paths
Browse files Browse the repository at this point in the history
  • Loading branch information
atrbgithub committed Oct 12, 2020
1 parent 92f1b06 commit fcae894
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM golang:1.11 as builder
WORKDIR /go/src/github.com/snahelou/kafka-connect-exporter
WORKDIR /go/src/github.com/autotraderuk/kafka-connect-exporter
COPY . .
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -a -installsuffix cgo .

FROM alpine:3.8
COPY --from=builder /go/src/github.com/snahelou/kafka-connect-exporter/kafka-connect-exporter /
COPY --from=builder /go/src/github.com/autotraderuk/kafka-connect-exporter/kafka-connect-exporter /
ENTRYPOINT ["/kafka-connect-exporter"]
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ import (
"os/signal"
"time"

"github.com/autotraderuk/kafka-connect-exporter/prometheus"
"github.com/caarlos0/env"
"github.com/go-kafka/connect"
"github.com/pkg/errors"
prom "github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promhttp"
"github.com/snahelou/kafka-connect-exporter/prometheus"
)

type config struct {
Expand Down
2 changes: 1 addition & 1 deletion prometheus/prometheus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"net/http"
"testing"

"github.com/autotraderuk/kafka-connect-exporter/prometheus"
"github.com/go-kafka/connect"
"github.com/snahelou/kafka-connect-exporter/prometheus"
)

func TestMetricsUpdateErr(t *testing.T) {
Expand Down

0 comments on commit fcae894

Please sign in to comment.