lib/dockerun/command/run_new_image.rb in dockerun-0.1.18 vs lib/dockerun/command/run_new_image.rb in dockerun-0.2.0

- old
+ new

@@ -36,10 +36,10 @@ else # find history file config = ::Dockerun::Config.from_storage - imageName = build_image_if_not_exist(imageName) do |ops, val| + imageName, mount_points = build_image_if_not_exist(imageName) do |ops, val| case ops when :new_image_name cli.ask("Please provide a new image name : ", required: true) when :image_exist reuse = cli.yes? "Image '#{val}' already exist. Using existing image?"