From ab316d22509ed6e601773a7ef66c0131aa8af24b Mon Sep 17 00:00:00 2001 From: Forest Johnson Date: Wed, 24 Nov 2021 16:01:38 +0000 Subject: Fix broken defaults and broken flags (#314) * start with a default config, not an empty config. * some data structures were present on Empty config but not Default config * the monkey patched CLIContext is working * remove print debugging log * make the behaviour of the flags consistent across all data types Conflicts: internal/config/config.go * try to fix accidentally broken test --- internal/config/default.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/config/default.go') diff --git a/internal/config/default.go b/internal/config/default.go index 996033ae4..6e8f63177 100644 --- a/internal/config/default.go +++ b/internal/config/default.go @@ -150,6 +150,8 @@ func Default() *Config { Password: defaults.SMTPPassword, From: defaults.SMTPFrom, }, + AccountCLIFlags: make(map[string]string), + ExportCLIFlags: make(map[string]string), } } -- cgit v1.2.3