Skip to content

Commit

Permalink
Merge pull request #65 from sysdiglabs/revert-env-uri
Browse files Browse the repository at this point in the history
Revert ENV_URI variable setting
  • Loading branch information
jaimeyh authored Mar 22, 2023
2 parents 0d065db + e104c46 commit d094d38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func main() {
Default("/metrics").String()
esURI = kingpin.Flag("es.uri",
"HTTP API address of an Elasticsearch node.").
Default("http://localhost:9200").String()
Default("http://localhost:9200").Envar("ES_URI").String()
esTimeout = kingpin.Flag("es.timeout",
"Timeout for trying to get stats from Elasticsearch.").
Default("5s").Duration()
Expand Down

0 comments on commit d094d38

Please sign in to comment.