-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Conversation
return nil, errors.Wrap(err, "reading dockerfile") | ||
} | ||
|
||
ports, err := docker.PortsFromDockerfile(r) |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
There was a problem hiding this 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
@r2d4 changes made! |
It helps simplify the code and makes the kubectl plugin easier to evolve. Also fixes GoogleContainerTools#625
Ah, cool – I was too tempted to improve this! |
It helps simplify the code and makes the kubectl plugin easier
to evolve.
Also fixes #625