Skip to content

Commit

Permalink
Merge pull request #18268 from soltysh/issue18261
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue (batch tested with PRs 18415, 18419, 18268, 18102, 18440).

UPSTREAM: 58753: Fix kubectl explain for cronjobs

Fixes #18261.

@Kargakis fyi
/assign @juanvallejo
  • Loading branch information
openshift-merge-robot authored Feb 5, 2018
2 parents 9a0806a + 7550307 commit 797fbde
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
2 changes: 2 additions & 0 deletions test/cmd/explain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ os::cmd::expect_success 'oc explain bc'
os::cmd::expect_success 'oc explain image'
os::cmd::expect_success 'oc explain is'

os::cmd::expect_success 'oc explain cronjob'

echo "explain: ok"
os::test::junit::declare_suite_end

2 changes: 2 additions & 0 deletions vendor/k8s.io/kubernetes/hack/make-rules/test-cmd-util.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions vendor/k8s.io/kubernetes/pkg/kubectl/cmd/explain.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 797fbde

Please sign in to comment.