Skip to content

Commit

Permalink
Fix misspelling of success.
Browse files Browse the repository at this point in the history
Signed-off-by: JunYang <yang.jun22@zte.com.cn>
  • Loading branch information
yangjunmyfm192085 committed Mar 5, 2021
1 parent 5b0d045 commit 2d9b270
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pkg/kubelet/token/token_manager_test.go
Expand Up @@ -222,7 +222,7 @@ func TestDeleteServiceAccountToken(t *testing.T) {
expLeftIndex: []int{1},
},
{
name: "delete all with all suceess requests",
name: "delete all with all success requests",
requestIndex: []int{0, 1, 2},
deletePodUID: []types.UID{"fake-uid-1", "fake-uid-2", "fake-uid-3"},
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/volume/testing/testing.go
Expand Up @@ -49,7 +49,7 @@ const (
// is expected to fail.
ExpectProvisionFailureKey = "expect-provision-failure"
// The node is marked as uncertain. The attach operation will fail and return timeout error
// for the first attach call. The following call will return sucesssfully.
// for the first attach call. The following call will return successfully.
UncertainAttachNode = "uncertain-attach-node"
// The node is marked as timeout. The attach operation will always fail and return timeout error
// but the operation is actually succeeded.
Expand Down
Expand Up @@ -35,7 +35,7 @@ type NamePrintFlags struct {
Operation string
}

// Complete sets NamePrintFlags operation flag from sucessTemplate
// Complete sets NamePrintFlags operation flag from successTemplate
func (f *NamePrintFlags) Complete(successTemplate string) error {
f.Operation = fmt.Sprintf(successTemplate, f.Operation)
return nil
Expand Down
Expand Up @@ -73,7 +73,7 @@ type PrintFlags struct {
OutputFlagSpecified func() bool
}

// Complete sets NamePrintFlags operation flag from sucessTemplate
// Complete sets NamePrintFlags operation flag from successTemplate
func (f *PrintFlags) Complete(successTemplate string) error {
return f.NamePrintFlags.Complete(successTemplate)
}
Expand Down
2 changes: 1 addition & 1 deletion test/e2e_node/environment/conformance.go
Expand Up @@ -33,7 +33,7 @@ import (
"k8s.io/kubernetes/pkg/kubelet/cadvisor"
)

const success = "\033[0;32mSUCESS\033[0m"
const success = "\033[0;32mSUCCESS\033[0m"
const failed = "\033[0;31mFAILED\033[0m"
const notConfigured = "\033[0;34mNOT CONFIGURED\033[0m"
const skipped = "\033[0;34mSKIPPED\033[0m"
Expand Down

0 comments on commit 2d9b270

Please sign in to comment.