mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
fix(commands): use consistent config file name (#2952)
Adjusts the default filename for all configuration files to configuration.yml.
This commit is contained in:
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
Block a user