Merge "Fix TestPersistConfig"

This commit is contained in:
Zuul 2020-09-28 22:13:37 +00:00 committed by Gerrit Code Review
commit 462b8d8442

View File

@ -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)