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

Remove no-manifest code. #640

Merged
merged 1 commit into from
Jun 7, 2018

Conversation

dgageot
Copy link
Contributor

@dgageot dgageot commented Jun 6, 2018

It helps simplify the code and makes the kubectl plugin easier
to evolve.

Also fixes #625

return nil, errors.Wrap(err, "reading dockerfile")
}

ports, err := docker.PortsFromDockerfile(r)
Copy link
Contributor

Choose a reason for hiding this comment

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

You should also be able to delete this function from the docker package: PortsFromDockerfile and tests.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks @dlorenc I removed it too now

Copy link
Contributor

@r2d4 r2d4 left a comment

Choose a reason for hiding this comment

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

There's an integration test to remove also

@dgageot
Copy link
Contributor Author

dgageot commented Jun 7, 2018

@r2d4 changes made!

It helps simplify the code and makes the kubectl plugin easier
to evolve.

Also fixes GoogleContainerTools#625
@dgageot dgageot merged commit 329b473 into GoogleContainerTools:master Jun 7, 2018
@errordeveloper
Copy link
Contributor

Ah, cool – I was too tempted to improve this!

@dgageot dgageot deleted the no-no-manifest branch December 28, 2018 07:08
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.

Clean up build struct
4 participants