Skip to content

Commit

Permalink
Merge pull request #98503 from chymy/kctl-i18nt-0128
Browse files Browse the repository at this point in the history
add i18n.T in waitExample
  • Loading branch information
k8s-ci-robot committed Feb 1, 2021
2 parents fc39904 + e472a77 commit fd515b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions staging/src/k8s.io/kubectl/pkg/cmd/wait/wait.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ var (
A successful message will be printed to stdout indicating when the specified
condition has been met. One can use -o option to change to output destination.`))

waitExample = templates.Examples(`
waitExample = templates.Examples(i18n.T(`
# Wait for the pod "busybox1" to contain the status condition of type "Ready".
kubectl wait --for=condition=Ready pod/busybox1
Expand All @@ -67,7 +67,7 @@ var (
# Wait for the pod "busybox1" to be deleted, with a timeout of 60s, after having issued the "delete" command.
kubectl delete pod/busybox1
kubectl wait --for=delete pod/busybox1 --timeout=60s`)
kubectl wait --for=delete pod/busybox1 --timeout=60s`))
)

// errNoMatchingResources is returned when there is no resources matching a query.
Expand Down

0 comments on commit fd515b2

Please sign in to comment.