Skip to content

Commit

Permalink
Return the current kubeconfig as the starting config in ClientConfigG…
Browse files Browse the repository at this point in the history
…etter.
  • Loading branch information
madhusudancs committed Aug 18, 2016
1 parent ff9980e commit 2b5d689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/client/unversioned/clientcmd/loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func (g *ClientConfigGetter) GetLoadingPrecedence() []string {
return nil
}
func (g *ClientConfigGetter) GetStartingConfig() (*clientcmdapi.Config, error) {
return nil, nil
return g.kubeconfigGetter()
}
func (g *ClientConfigGetter) GetDefaultFilename() string {
return ""
Expand Down

0 comments on commit 2b5d689

Please sign in to comment.