Skip to content

Commit d094d38

Browse files
authored
Merge pull request #65 from sysdiglabs/revert-env-uri
Revert ENV_URI variable setting
2 parents 0d065db + e104c46 commit d094d38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func main() {
5454
Default("/metrics").String()
5555
esURI = kingpin.Flag("es.uri",
5656
"HTTP API address of an Elasticsearch node.").
57-
Default("http://localhost:9200").String()
57+
Default("http://localhost:9200").Envar("ES_URI").String()
5858
esTimeout = kingpin.Flag("es.timeout",
5959
"Timeout for trying to get stats from Elasticsearch.").
6060
Default("5s").Duration()

0 commit comments

Comments
 (0)