Fixed bug remaining from splitting of create-from-container functionality.

This commit is contained in:
Fabian Schlenz 2017-02-13 16:02:19 +01:00
parent d889ba5124
commit ba4f1e057a
1 changed files with 1 additions and 1 deletions

2
dup.rb
View File

@ -124,7 +124,7 @@ def action_run(container, file)
cmd = ["docker", "run"]
MAPPINGS.each do |mapping|
yml_name, cmd_name, inspect_name, options = *mapping
yml_name, cmd_name, options = *mapping
options ||= {}
if !data[yml_name]
if options[:type]==:name