Skip to content

remove downstream shortcutexpander - #15593

Merged
openshift-merge-robot merged 1 commit into
openshift:masterfrom
deads2k:cli-18-shortcut
Aug 2, 2017
Merged

openshift-merge-robot merged 1 commit into
openshift:masterfrom
deads2k:cli-18-shortcut

Conversation

@deads2k

@deads2k deads2k commented Aug 1, 2017 •

Copy link
Copy Markdown
Contributor

Fixes #15282

Removes an unused shortcutexpander.

@openshift-merge-robot openshift-merge-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Aug 1, 2017
@openshift-merge-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deads2k

No associated issue. Update pull-request body to add a reference to an issue, or get approval with /approve no-issue

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 1, 2017
@deads2k deads2k assigned juanvallejo and unassigned liggitt Aug 1, 2017
}
}
return describe.NewHumanReadablePrinter(f.JSONEncoder(), f.Decoder(true), options), nil
return f.kubeClientAccessFactory.Printer(mapping, options)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, but looks like the printer upstream does not make use of the mapping argument at all maybe we could remove that altogether in the upstream factory as well? (does not impact this PR)

@deads2k

deads2k commented Aug 1, 2017

Copy link
Copy Markdown
Contributor Author

lgtm, but looks like the printer upstream does not make use of the mapping argument at all maybe we could remove that altogether in the upstream factory as well? (does not impact this PR)

Not as a pick. You'll want to chase that upstream as you work on printers.

@deads2k

deads2k commented Aug 1, 2017

Copy link
Copy Markdown
Contributor Author

@fabianofranz any idea how this was wired (somehow) to completion generation?

options.Kind = alias
}
}
return describe.NewHumanReadablePrinter(f.JSONEncoder(), f.Decoder(true), options), nil

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, I see. Apparently we have a different printer here because why not have a different printer here that is only sometimes used.

@deads2k deads2k added the lgtm Indicates that a PR is ready to be merged. label Aug 1, 2017
@openshift-merge-robot

Copy link
Copy Markdown
Contributor

Automatic merge from submit-queue (batch tested with PRs 15512, 15582, 15125, 15590, 15593)

@openshift-merge-robot
openshift-merge-robot merged commit f568a4e into openshift:master Aug 2, 2017
@deads2k
deads2k deleted the cli-18-shortcut branch August 3, 2017 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants