Merge "Fix TestPersistConfig"
This commit is contained in:
commit
462b8d8442
@ -97,6 +97,9 @@ func TestPersistConfig(t *testing.T) {
|
|||||||
conf, cleanup := testutil.InitConfig(t)
|
conf, cleanup := testutil.InitConfig(t)
|
||||||
defer cleanup(t)
|
defer cleanup(t)
|
||||||
|
|
||||||
|
conf.SetLoadedConfigPath(conf.LoadedConfigPath() + ".new")
|
||||||
|
conf.SetKubeConfigPath(conf.KubeConfigPath() + ".new")
|
||||||
|
|
||||||
err := conf.PersistConfig(true)
|
err := conf.PersistConfig(true)
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user