Fixed URL

This commit is contained in:
Edward Marshall
2017-07-10 09:56:41 +01:00
parent 584a857a23
commit 64944c1b31
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
FROM golang:1.8.1-alpine as builder
COPY ./ /go/src/github.com/infinityworksltd/docker-hub-exporter/
COPY ./ /go/src/github.com/infinityworks/docker-hub-exporter/
WORKDIR /go/src/github.com/infinityworksltd/docker-hub-exporter/cmd/exporter/
WORKDIR /go/src/github.com/infinityworks/docker-hub-exporter/cmd/exporter/
RUN apk --update add ca-certificates \
&& apk --update add --virtual build-deps git
@@ -19,7 +19,7 @@ RUN addgroup exporter \
&& adduser -S -G exporter exporter \
&& apk --update --no-cache add ca-certificates
COPY --from=builder /go/src/github.com/infinityworksltd/docker-hub-exporter/cmd/exporter/exporter .
COPY --from=builder /go/src/github.com/infinityworks/docker-hub-exporter/cmd/exporter/exporter .
USER exporter
+2 -2
View File
@@ -10,7 +10,7 @@ import (
"fmt"
exporter "github.com/infinityworksltd/docker-hub-exporter"
exporter "github.com/infinityworks/docker-hub-exporter"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promhttp"
)
@@ -76,7 +76,7 @@ func main() {
<head><title>Docker Hub Exporter</title></head>
<body>
<h1>Docker Hub Prometheus Metrics Exporter</h1>
<p>For more information, visit <a href='https://github.com/infinityworksltd/docker-hub-exporter'>GitHub</a></p>
<p>For more information, visit <a href='https://github.com/infinityworks/docker-hub-exporter'>GitHub</a></p>
<p><a href='` + *metricsPath + `'>Metrics</a></p>
</body>
</html>