1
0
Fork 0
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:
Henrik Hautakoski 2023-04-24 17:44:31 +02:00
parent bbf63e447d
commit e4c852c99e
7 changed files with 83 additions and 86 deletions

View file

@ -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()