mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Merge pull request #99685 from yangjunmyfm192085/run-test24
Fix misspelling of success.
This commit is contained in:
commit
ea7c57b2ee
@ -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"},
|
||||
},
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
}
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user