Skip to content

Commit

Permalink
[WIP] change GetConfigOrDie to GetConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
kimschles committed Jun 10, 2019
1 parent 6fa27ee commit 30ff6e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kube/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func CreateResourceProviderFromPath(directory string) (*ResourceProvider, error)

// CreateResourceProviderFromCluster creates a new ResourceProvider using live data from a cluster
func CreateResourceProviderFromCluster() (*ResourceProvider, error) {
kubeConf := config.GetConfigOrDie()
kubeConf := config.GetConfig()
api, err := kubernetes.NewForConfig(kubeConf)
if err != nil {
logrus.Errorf("Error creating Kubernetes client %v", err)
Expand Down

0 comments on commit 30ff6e6

Please sign in to comment.