File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ GOTEST=$(GOCMD) test
44GOVET =$(GOCMD ) vet
55BINARY_NAME =pure-fa-om-exporter
66MODULE_NAME =go mod init purestorage/fa-openmetrics-exporter
7- VERSION? =1.0.2
7+ VERSION? =1.0.3
88SERVICE_PORT? =9490
99DOCKER_REGISTRY? = quay.io/purestorage/
1010EXPORT_RESULT? =false # for CI please set EXPORT_RESULT to true
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import (
1414 "github.com/prometheus/client_golang/prometheus/promhttp"
1515)
1616
17- var version string = "1.0.2 "
17+ var version string = "1.0.3 "
1818var debug bool = false
1919
2020func main () {
@@ -86,7 +86,7 @@ func metricsHandler(w http.ResponseWriter, r *http.Request) {
8686
8787 registry := prometheus .NewRegistry ()
8888 faclient := client .NewRestClient (endpoint , apitoken , apiver , debug )
89- if faclient .Error != nil {
89+ if faclient .Error != nil {
9090 http .Error (w , "Error connecting to FlashArray. Check your management endpoint and/or api token are correct." , http .StatusBadRequest )
9191 return
9292 }
You can’t perform that action at this time.
0 commit comments