diff --git a/grok_exporter.go b/grok_exporter.go index e91fb318..97f0e19c 100644 --- a/grok_exporter.go +++ b/grok_exporter.go @@ -151,9 +151,9 @@ func startMsg(cfg *v2.Config, httpHandlers []exporter.HttpServerPathHandler) str var sb strings.Builder baseUrl := fmt.Sprintf("%v://%v:%v", cfg.Server.Protocol, host, cfg.Server.Port) - sb.WriteString(fmt.Sprintf("Starting server on %v", baseUrl)) + sb.WriteString("Starting server on") for _, httpHandler := range httpHandlers { - sb.WriteString(fmt.Sprintf("\n %v%v", baseUrl, httpHandler.Path)) + sb.WriteString(fmt.Sprintf(" %v%v", baseUrl, httpHandler.Path)) } sb.WriteString("\n") return sb.String() diff --git a/release.sh b/release.sh index 8a241557..4544275b 100755 --- a/release.sh +++ b/release.sh @@ -17,7 +17,7 @@ export GO111MODULE=on cd $GOPATH/src/github.com/fstab/grok_exporter -export VERSION=0.2.8-SNAPSHOT +export VERSION=0.2.8 export VERSION_FLAGS="\ -X github.com/fstab/grok_exporter/exporter.Version=$VERSION