585af5a516
This change fixes a bug where the default values that are populated during an `airshipctl config init` were getting mixed in with user specified values at runtime. For example, a user with two contexts defined in their airship config file would actually see a third phantom context with default values in the output of `airshipctl config get-context`. Also fixes a number of the config cmd and pkg unit tests that were affected by this bug. Change-Id: Iac591d4c2a616090028eb730576478edefb82544 Closes: #447 |
||
---|---|---|
.. | ||
testdata | ||
config_test.go | ||
config.go | ||
get_context_test.go | ||
get_context.go | ||
get_management_config_test.go | ||
get_management_config.go | ||
get_manifest_test.go | ||
get_manifest.go | ||
init_test.go | ||
init.go | ||
set_context_test.go | ||
set_context.go | ||
set_management_configuration_test.go | ||
set_management_configuration.go | ||
set_manifest_test.go | ||
set_manifest.go | ||
use_context_test.go | ||
use_context.go |