fix(commands): use consistent config file name (#2952)

Adjusts the default filename for all configuration files to configuration.yml.
This commit is contained in:
James Elliott 2022-03-04 14:39:22 +11:00 committed by GitHub
parent c9d86a9240
commit a5c400cb1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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
} }