Repository navigation
Update oc cmds to use upstream clientcmd/Factory#NewBuilder - #15352
openshift-merge-robot merged 1 commit into
Conversation
|
[test] |
8f29bb3 to
63a8162
Compare
|
Evaluated for origin test up to 63a8162 |
|
continuous-integration/openshift-jenkins/test FAILURE (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/3416/) (Base Commit: 421b57e) (PR Branch Commit: 63a8162) |
|
/test all |
cbc2b95 to
aecfc14
Compare
76cfe4e to
8f625ca
Compare
8f625ca to
f3c300b
Compare
|
@juanvallejo: The following test failed, say
Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
f3c300b to
1e523f6
Compare
| } | ||
|
|
||
| func (o *sccSubjectReviewOptions) Run(args []string) error { | ||
| func (o *sccSubjectReviewOptions) Run(args []string, f *clientcmd.Factory) error { |
There was a problem hiding this comment.
We should try to avoid passing the factory to the Run method. Take everything you need in Complete. ;)
1e523f6 to
6ac6bf4
Compare
|
@fabianofranz thanks for the feedback, review comment addressed |
|
/lgtm |
|
/approve no-issue |
6ac6bf4 to
717e308
Compare
|
@fabianofranz could you tag once more? Thanks! |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fabianofranz, juanvallejo, mfojtik Associated issue: 15278 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
|
Automatic merge from submit-queue |
Fixes #15278
util/clientcmd/Factory#NewBuildermethod.localoption to theutil/clientcmd/Factory#PrinterForCommandmethod (enables local commands to work without a connection to an api server)cc @openshift/cli-review @deads2k