diff options
author | Matthew Heon <matthew.heon@gmail.com> | 2018-01-10 13:49:38 -0500 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-01-10 20:16:21 +0000 |
commit | e6be800ec633342aef656e0a2ed0bdc4519796d9 (patch) | |
tree | d793d4e79fd298e3c2dd82b173b6b7746a8e9c0f /libpod/options.go | |
parent | f0843e94cf6ce780bd36e72cc1e754fce900c608 (diff) | |
download | podman-e6be800ec633342aef656e0a2ed0bdc4519796d9.tar.gz podman-e6be800ec633342aef656e0a2ed0bdc4519796d9.tar.bz2 podman-e6be800ec633342aef656e0a2ed0bdc4519796d9.zip |
Update DB to add new fields required for planned features
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
Closes: #209
Approved by: rhatdan
Diffstat (limited to 'libpod/options.go')
-rw-r--r-- | libpod/options.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpod/options.go b/libpod/options.go index 0ddbeae55..199bf9ee9 100644 --- a/libpod/options.go +++ b/libpod/options.go @@ -325,7 +325,7 @@ func WithUser(user string) CtrCreateOption { // If useImageConfig is specified, image volumes, environment variables, and // 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, useImageConfig bool) CtrCreateOption { +func WithRootFSFromImage(imageID string, imageName string, useImageVolumes bool) CtrCreateOption { return func(ctr *Container) error { if ctr.valid { return ErrCtrFinalized @@ -337,7 +337,7 @@ func WithRootFSFromImage(imageID string, imageName string, useImageConfig bool) ctr.config.RootfsImageID = imageID ctr.config.RootfsImageName = imageName - ctr.config.UseImageConfig = useImageConfig + ctr.config.ImageVolumes = useImageVolumes return nil } |