1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[aws|compute] less confusing explanation comment

This commit is contained in:
geemus 2011-05-13 13:43:31 -07:00
parent 0d9543dd6c
commit 82425027bb

View file

@ -56,7 +56,7 @@ module Fog
filters = {'instance-id' => [*filters]}
end
params = {}
# when seeking single instance id, old param style is most up to date
# when seeking single instance id, old param style provides more accurate data sooner
if filters['instance-id'] && !filters['instance-id'].is_a?(Array)
params.merge!('InstanceId' => filters.delete('instance-id'))
end