Files
kubernetes/pkg
Kubernetes Submit Queue 4989087fbf Merge pull request #58030 from ahmetb/fix-fmt
Automatic merge from submit-queue (batch tested with PRs 57581, 58030). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

cmd/kubectl: fix broken error formatting for run

This patch adds missing value to a format string (%s) in --restart flag
validation for "kubectl run".

"kubectl run --restart=foo" was giving error:

    error: invalid restart policy: %!s(MISSING)

Now it says:

    error: invalid restart policy: foo

/release-note-none
2018-01-09 23:11:29 -08:00
..
2017-12-23 13:12:11 -08:00
2017-12-23 13:12:11 -08:00
2018-01-02 22:13:19 -08:00
2017-12-23 13:12:11 -08:00
2017-11-22 18:40:09 +00:00
2017-12-23 13:12:11 -08:00
2018-01-02 00:21:07 -08:00
2017-12-23 13:12:11 -08:00
2017-12-23 13:12:11 -08:00
2017-12-23 13:12:11 -08:00
2017-10-15 18:18:13 -07:00
2018-01-05 15:05:01 -08:00