mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-19 04:50:02 +02:00
app/config/config.go: Move from json format to yaml.
This commit is contained in:
parent
bbf63e447d
commit
e4c852c99e
7 changed files with 83 additions and 86 deletions
|
|
@ -110,7 +110,7 @@ func main() {
|
|||
|
||||
showHelp := getopt.BoolLong("help", 'h', "display this help text")
|
||||
showVersion := getopt.BoolLong("version", 'v', "display this help text")
|
||||
configFile := getopt.StringLong("config", 'c', "./config.json", "Config file to read", "file")
|
||||
configFile := getopt.StringLong("config", 'c', "./config.yml", "Config file to read", "file")
|
||||
pidFile := getopt.StringLong("pid", 'p', "", "Where to write process id", "file")
|
||||
|
||||
getopt.Parse()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue