Skip to content

Commit

Permalink
Merge pull request #3282 from SataQiu/fix-20181024
Browse files Browse the repository at this point in the history
Fix some typos
  • Loading branch information
k8s-ci-robot authored Oct 24, 2018
2 parents 01854c9 + 51fffc6 commit 9fe5003
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 9fe5003

Please sign in to comment.