From fcae8942a8d04ae4c6f94d3375c6ac9af6e54bcc Mon Sep 17 00:00:00 2001 From: atrbgithub <14765982+atrbgithub@users.noreply.github.com> Date: Mon, 12 Oct 2020 14:37:04 +0100 Subject: [PATCH] Update paths --- Dockerfile | 4 ++-- main.go | 2 +- prometheus/prometheus_test.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index d150075..3d04d40 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] diff --git a/main.go b/main.go index b70ea0a..161c116 100644 --- a/main.go +++ b/main.go @@ -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 { diff --git a/prometheus/prometheus_test.go b/prometheus/prometheus_test.go index d0d84ab..1a0b20b 100644 --- a/prometheus/prometheus_test.go +++ b/prometheus/prometheus_test.go @@ -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) {