Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor inspectContainer and add commit(), removeImage()
Adds commit() and removeImage() implementations to OpenShiftConnector. This requires some refactoring of existing methods (mostly refactoring repeated processes into their own methods -- e.g. creating an ImageStreamTag and getting image info from a tag). Additionally, refactors inspectContainer() method to remove a call to DockerConnector, instead obtaining the same information from what's available through the OpenShift API. This fixes an issue where the IP address of a workspace was unavailable from the ContainerInfo returned by DockerConnector. Signed-off-by: Angel Misevski <amisevsk@redhat.com>
- Loading branch information