Merge pull request #99685 from yangjunmyfm192085/run-test24

Fix misspelling of success.
This commit is contained in:
Kubernetes Prow Robot 2022-05-03 17:16:47 -07:00 committed by GitHub
commit ea7c57b2ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -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"},
},

View File

@ -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 detach operation will keep failing on the node.
FailDetachNode = "fail-detach-node"

View File

@ -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

View File

@ -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)
}

View File

@ -30,7 +30,7 @@ import (
"os"
)
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"