mirror of
https://github.com/restic/rest-server.git
synced 2025-12-07 09:36:13 -08:00
fix prometheus config flag
This commit is contained in:
committed by
Zlatko Čalušić
parent
8d8ecd7b0e
commit
1bc1698f4e
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user