summaryrefslogtreecommitdiff
path: root/libpod/options.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-02-21 13:25:59 -0500
committerGitHub <noreply@github.com>2020-02-21 13:25:59 -0500
commit75ea3b67c6a5c3b6a3e4b7f5ae173c09c8e9c2d5 (patch)
tree57279aee8328f9d7fc423fbecc8131e4f3cec648 /libpod/options.go
parent5bdf5aeb71981a4951c039b1c795b24ca31ca705 (diff)
parente3a549b7b1191a1667373cf60f8d08b96bbce7ba (diff)
downloadpodman-75ea3b67c6a5c3b6a3e4b7f5ae173c09c8e9c2d5.tar.gz
podman-75ea3b67c6a5c3b6a3e4b7f5ae173c09c8e9c2d5.tar.bz2
podman-75ea3b67c6a5c3b6a3e4b7f5ae173c09c8e9c2d5.zip
Merge pull request #5213 from mheon/remove_db_imagevol
Remove ImageVolumes from database
Diffstat (limited to 'libpod/options.go')
-rw-r--r--libpod/options.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/libpod/options.go b/libpod/options.go
index 1fd588867..d01e8a85f 100644
--- a/libpod/options.go
+++ b/libpod/options.go
@@ -593,7 +593,7 @@ func WithUser(user string) CtrCreateOption {
// other configuration from the image will be added to the config.
// TODO: Replace image name and ID with a libpod.Image struct when that is
// finished.
-func WithRootFSFromImage(imageID string, imageName string, useImageVolumes bool) CtrCreateOption {
+func WithRootFSFromImage(imageID string, imageName string) CtrCreateOption {
return func(ctr *Container) error {
if ctr.valid {
return define.ErrCtrFinalized
@@ -608,7 +608,6 @@ func WithRootFSFromImage(imageID string, imageName string, useImageVolumes bool)
ctr.config.RootfsImageID = imageID
ctr.config.RootfsImageName = imageName
- ctr.config.ImageVolumes = useImageVolumes
return nil
}