From a5c400cb1d7edb307155dffcd45f1f72e3b171f4 Mon Sep 17 00:00:00 2001 From: James Elliott Date: Fri, 4 Mar 2022 14:39:22 +1100 Subject: [PATCH] fix(commands): use consistent config file name (#2952) Adjusts the default filename for all configuration files to configuration.yml. --- internal/commands/storage.go | 2 +- internal/commands/validate.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/commands/storage.go b/internal/commands/storage.go index fc6e6580b..173abcada 100644 --- a/internal/commands/storage.go +++ b/internal/commands/storage.go @@ -13,7 +13,7 @@ func NewStorageCmd() (cmd *cobra.Command) { 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") diff --git a/internal/commands/validate.go b/internal/commands/validate.go index 642cbdce5..2b46a9751 100644 --- a/internal/commands/validate.go +++ b/internal/commands/validate.go @@ -16,7 +16,7 @@ func newValidateConfigCmd() (cmd *cobra.Command) { RunE: cmdValidateConfigRunE, } - cmdWithConfigFlags(cmd, false, []string{"config.yml"}) + cmdWithConfigFlags(cmd, false, []string{"configuration.yml"}) return cmd }