mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[Docker] container actions fixed.
This commit is contained in:
parent
2402fb8f8b
commit
803333bc5e
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ module Fog
|
|||
raise ArgumentError, "instance id is a required parameter" unless options.has_key? :id
|
||||
raise ArgumentError, "action is a required parameter" unless options.has_key? :action
|
||||
container = Docker::Container.get(options[:id])
|
||||
container.send(options[:action], options[:id]).info
|
||||
downcase_hash_keys container.send(options[:action]).info
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue