mirror of
https://github.com/rclone/rclone.git
synced 2025-12-11 22:14:05 +01:00
rc: fix default value of --metrics-addr
Before this fix it was empty string, which isn't a good default for a stringArray.
This commit is contained in:
@@ -85,7 +85,7 @@ var OptionsInfo = fs.Options{{
|
||||
Groups: "RC",
|
||||
}, {
|
||||
Name: "metrics_addr",
|
||||
Default: []string{""},
|
||||
Default: []string{},
|
||||
Help: "IPaddress:Port or :Port to bind metrics server to",
|
||||
Groups: "Metrics",
|
||||
}}.
|
||||
|
||||
Reference in New Issue
Block a user