1
0
Fork 0
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:
Amos Benari 2014-03-03 15:26:21 +02:00
parent 2402fb8f8b
commit 803333bc5e

View file

@ -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