Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move functions to separate files in context package #4231

Merged

Conversation

adisky
Copy link
Contributor

@adisky adisky commented Nov 17, 2020

What type of PR is this?

/kind code-refactoring

What does does this PR do / why we need it:

part of context refactoring

Which issue(s) this PR fixes:

Partially : #4081

PR acceptance criteria:

How to test changes / Special notes to the reviewer:
Tests should pass

@adisky adisky changed the title Separate files in context(genericclioptions) package Move functions to separate files in context package Nov 17, 2020
@adisky
Copy link
Contributor Author

adisky commented Nov 19, 2020

/retest

)

// ResolveAppFlag resolves the app from the flag
func ResolveAppFlag(command *cobra.Command) string {
Copy link
Contributor

Choose a reason for hiding this comment

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

Doesn’t this make more sense to be in flag.go

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i will try to remove this in next PR's

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok

@girishramnani
Copy link
Contributor

/approve
/lgtm

This refactor PR pass the tests

@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: girishramnani

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

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added lgtm Indicates that a PR is ready to be merged. Required by Prow. approved Indicates a PR has been approved by an approver from all required OWNERS files. Required by Prow. labels Nov 24, 2020
@openshift-merge-robot openshift-merge-robot merged commit 1396160 into redhat-developer:master Nov 24, 2020
@rm3l rm3l added the area/refactoring Issues or PRs related to code refactoring label Jun 19, 2023
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. Required by Prow. area/refactoring Issues or PRs related to code refactoring lgtm Indicates that a PR is ready to be merged. Required by Prow.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants