Default http-metrics to false

After the change to require http-bind, this default doesn't make sense.
My local branch had other commits, which hid this error.
This commit is contained in:
Tim Hockin 2023-02-11 10:36:30 -08:00
parent 4707356327
commit 2d61e6a5ea
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ var flGitGC = pflag.String("git-gc", envString("GIT_SYNC_GIT_GC", "auto"),
var flHTTPBind = pflag.String("http-bind", envString("GIT_SYNC_HTTP_BIND", ""),
"the bind address (including port) for git-sync's HTTP endpoint")
var flHTTPMetrics = pflag.Bool("http-metrics", envBool("GIT_SYNC_HTTP_METRICS", true),
var flHTTPMetrics = pflag.Bool("http-metrics", envBool("GIT_SYNC_HTTP_METRICS", false),
"enable metrics on git-sync's HTTP endpoint")
var flHTTPprof = pflag.Bool("http-pprof", envBool("GIT_SYNC_HTTP_PPROF", false),
"enable the pprof debug endpoints on git-sync's HTTP endpoint")