From e6be800ec633342aef656e0a2ed0bdc4519796d9 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Wed, 10 Jan 2018 13:49:38 -0500 Subject: Update DB to add new fields required for planned features Signed-off-by: Matthew Heon Closes: #209 Approved by: rhatdan --- libpod/options.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libpod/options.go') 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 } -- cgit v1.2.3-54-g00ecf