Fixed bug remaining from splitting of create-from-container functionality.
This commit is contained in:
parent
d889ba5124
commit
ba4f1e057a
2
dup.rb
2
dup.rb
@ -124,7 +124,7 @@ def action_run(container, file)
|
|||||||
cmd = ["docker", "run"]
|
cmd = ["docker", "run"]
|
||||||
|
|
||||||
MAPPINGS.each do |mapping|
|
MAPPINGS.each do |mapping|
|
||||||
yml_name, cmd_name, inspect_name, options = *mapping
|
yml_name, cmd_name, options = *mapping
|
||||||
options ||= {}
|
options ||= {}
|
||||||
if !data[yml_name]
|
if !data[yml_name]
|
||||||
if options[:type]==:name
|
if options[:type]==:name
|
||||||
|
Loading…
Reference in New Issue
Block a user