Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
SataQiu committed Oct 24, 2018
1 parent e8bf124 commit 51fffc6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/nginx/main.go
Expand Up @@ -222,7 +222,7 @@ func createApiserverClient(apiserverHost, kubeConfig string) (*kubernetes.Client
}

lastErr = err
glog.V(2).Infof("Unexpected error discovering Kubernetes version (attempt %v): %v", err, retries)
glog.V(2).Infof("Unexpected error discovering Kubernetes version (attempt %v): %v", retries, err)
retries++
return false, nil
})
Expand Down
2 changes: 1 addition & 1 deletion internal/k8s/main_test.go
Expand Up @@ -81,7 +81,7 @@ func TestGetNodeIP(t *testing.T) {
},
}}}), "notexistnode", "", true},

// node exist
// node exist
{testclient.NewSimpleClientset(&apiv1.NodeList{Items: []apiv1.Node{{
ObjectMeta: metav1.ObjectMeta{
Name: "demo",
Expand Down

0 comments on commit 51fffc6

Please sign in to comment.