diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2018-09-13 12:16:14 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2018-09-13 12:16:14 -0400 |
commit | ecec1a5430885baf96d2e3d6153c7454c41a4617 (patch) | |
tree | 5d18f24541094d6a5f775ccb3bfee36ec606bf17 /cmd/podman/search.go | |
parent | 61eda671eca96b6fa32369572d9b49850895d37b (diff) | |
download | podman-ecec1a5430885baf96d2e3d6153c7454c41a4617.tar.gz podman-ecec1a5430885baf96d2e3d6153c7454c41a4617.tar.bz2 podman-ecec1a5430885baf96d2e3d6153c7454c41a4617.zip |
Remove duplicate code between create.go and run.go
Create two new createInit for checking if the cotnainer is initialized
correctly.
createContainer which creates the actual container and containerConfig
Also added libpodruntime.GetContainerRuntime to put common runtime code
into separate function.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'cmd/podman/search.go')
0 files changed, 0 insertions, 0 deletions