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:
parent
0d9543dd6c
commit
82425027bb
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ module Fog
|
||||||
filters = {'instance-id' => [*filters]}
|
filters = {'instance-id' => [*filters]}
|
||||||
end
|
end
|
||||||
params = {}
|
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)
|
if filters['instance-id'] && !filters['instance-id'].is_a?(Array)
|
||||||
params.merge!('InstanceId' => filters.delete('instance-id'))
|
params.merge!('InstanceId' => filters.delete('instance-id'))
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue