Skip to content

Commit

Permalink
[fix] update main.go
Browse files Browse the repository at this point in the history
Co-Authored-By: Tariq Ibrahim <tariq181290@gmail.com>
  • Loading branch information
milesbxf and tariq1890 committed Jun 18, 2019
1 parent 80c1d8e commit 3e8ef4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ func createKubeClient(apiserver string, kubeconfig string) (clientset.Interface,
klog.Infof("Testing communication with server")
v, err := kubeClient.Discovery().ServerVersion()
if err != nil {
return nil, nil, errors.Wrap(err, "ERROR communicating with apiserver")
return nil, nil, errors.Wrap(err, "error while trying to communicate with apiserver")
}
klog.Infof("Running with Kubernetes cluster version: v%s.%s. git version: %s. git tree state: %s. commit: %s. platform: %s",
v.Major, v.Minor, v.GitVersion, v.GitTreeState, v.GitCommit, v.Platform)
Expand Down

0 comments on commit 3e8ef4c

Please sign in to comment.