airshipctl/pkg/environment
Ruslan Aliev ad7f80f2bf Return an error if there is a problem to access config file
Currently, if config file doesn't exist - airshipctl doesn't
throw an error and uses empty config object instead. It seems
this behavior was an attempt to hide an error if there was a call
of subcommand which is not require proper config file. Since we
moved config load calls to the specific subcommands from
root level - current behavior should be changed and we have to
throw an error instead if it's not possible to access config file.

Change-Id: I7e949fbc9d48d682e26500e0b6b6b9bd12665e24
Relates-To: #199
Closes: #199
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
2020-06-12 11:22:47 -05:00
..
constants.go Fix Lint warnings: Missing comments for functions 2020-05-19 16:54:09 +00:00
settings_test.go Return an error if there is a problem to access config file 2020-06-12 11:22:47 -05:00
settings.go Return an error if there is a problem to access config file 2020-06-12 11:22:47 -05:00