mirror of
https://github.com/restic/rest-server.git
synced 2025-10-19 07:33:21 +00:00
fix prometheus config flag
This commit is contained in:
parent
8d8ecd7b0e
commit
1bc1698f4e
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue