fix prometheus config flag

This commit is contained in:
Brice Waegeneire 2017-11-05 20:48:38 +01:00 committed by Zlatko Čalušić
parent 8d8ecd7b0e
commit 1bc1698f4e

View file

@ -30,7 +30,7 @@ func init() {
flags.StringVar(&restserver.Config.Path, "path", restserver.Config.Path, "data directory")
flags.BoolVar(&restserver.Config.TLS, "tls", restserver.Config.TLS, "turn on TLS support")
flags.BoolVar(&restserver.Config.AppendOnly, "append-only", restserver.Config.AppendOnly, "enable append only mode")
flags.BoolVar(&restserver.Config.Prometheus, "prometheus", restserver.Config.AppendOnly, "enable Prometheus metrics")
flags.BoolVar(&restserver.Config.Prometheus, "prometheus", restserver.Config.Prometheus, "enable Prometheus metrics")
}
var version = "manually"