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