Move ModifyConfig (and some related functions) into the clientcmd pkg.

This commit is contained in:
CJ Cullen
2016-04-14 11:47:19 -07:00
parent 660050631e
commit 86293810af
13 changed files with 431 additions and 401 deletions

View File

@@ -64,7 +64,7 @@ func (test currentContextTest) run(t *testing.T) {
t.Fatalf("unexpected error: %v", err)
}
pathOptions := NewDefaultPathOptions()
pathOptions := clientcmd.NewDefaultPathOptions()
pathOptions.GlobalFile = fakeKubeFile.Name()
pathOptions.EnvVar = ""
options := CurrentContextOptions{