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 Config and Options from agent to handler #1435

Merged

Conversation

SimonAlling
Copy link
Contributor

Description of the change

It moves the types Config and Options from the agent package to the handler package and updates all depending code accordingly.

Benefits

  • The types in question will be more reasonably located. They are not actually used in agent.go (except by mistake in CreateRelease; fixed in this commit); the functions there only need an action.Configuration.

They are not actually used in agent.go (except by mistake in
CreateRelease; fixed in this commit); the functions there only need an
action.Configuration.
Copy link
Contributor

@andresmgot andresmgot left a comment

Choose a reason for hiding this comment

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

TBH I am a bit confused with the naming here (handler, agent, config) but I don't have a better suggestion so LGTM

@andresmgot andresmgot merged commit e3687a9 into vmware-tanzu:master Jan 10, 2020
@SimonAlling SimonAlling deleted the helm3-move-config-and-options branch January 13, 2020 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants