Skip to content

Commit 322c34c

Browse files
update version
1 parent 559be7d commit 322c34c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ GOTEST=$(GOCMD) test
44
GOVET=$(GOCMD) vet
55
BINARY_NAME=pure-fa-om-exporter
66
MODULE_NAME=go mod init purestorage/fa-openmetrics-exporter
7-
VERSION?=1.0.2
7+
VERSION?=1.0.3
88
SERVICE_PORT?=9490
99
DOCKER_REGISTRY?= quay.io/purestorage/
1010
EXPORT_RESULT?=false # for CI please set EXPORT_RESULT to true

cmd/fa-om-exporter/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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"
1818
var debug bool = false
1919

2020
func 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
}

0 commit comments

Comments
 (0)