fix(commands): use consistent config file name (#2952)
Adjusts the default filename for all configuration files to configuration.yml.pull/2951/head
parent
c9d86a9240
commit
a5c400cb1d
|
@ -13,7 +13,7 @@ func NewStorageCmd() (cmd *cobra.Command) {
|
||||||
PersistentPreRunE: storagePersistentPreRunE,
|
PersistentPreRunE: storagePersistentPreRunE,
|
||||||
}
|
}
|
||||||
|
|
||||||
cmdWithConfigFlags(cmd, true, []string{"config.yml"})
|
cmdWithConfigFlags(cmd, true, []string{"configuration.yml"})
|
||||||
|
|
||||||
cmd.PersistentFlags().String("encryption-key", "", "the storage encryption key to use")
|
cmd.PersistentFlags().String("encryption-key", "", "the storage encryption key to use")
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ func newValidateConfigCmd() (cmd *cobra.Command) {
|
||||||
RunE: cmdValidateConfigRunE,
|
RunE: cmdValidateConfigRunE,
|
||||||
}
|
}
|
||||||
|
|
||||||
cmdWithConfigFlags(cmd, false, []string{"config.yml"})
|
cmdWithConfigFlags(cmd, false, []string{"configuration.yml"})
|
||||||
|
|
||||||
return cmd
|
return cmd
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue