airshipctl/testutil
Matthew Fuller 585af5a516 Remove defaults from Config object at runtime
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
2021-03-19 17:31:02 +00:00
..
clusterctl Extend kubeconfig builder 2021-02-10 14:52:39 +00:00
container Extend Generic Container interface 2021-02-08 15:50:20 +00:00
document Move MockDocument implementation to testutils 2020-12-11 14:09:41 -06:00
fs Extend document filesystem with chmod and dir methods 2020-12-02 09:03:17 -06:00
inventory Move remotedirect method to remote interface 2021-01-21 23:09:54 +00:00
k8sutils Fix typos 2020-09-21 02:49:33 -05:00
redfishutils Move remotedirect method to remote interface 2021-01-21 23:09:54 +00:00
testconfig.go Remove defaults from Config object at runtime 2021-03-19 17:31:02 +00:00
testdatafs.go Move document filesystem to a separate package 2020-11-30 19:51:30 -06:00
utilities.go Error messages checked expected value 2021-03-03 12:00:36 -06:00