mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[aws|compute] Pass empty groupIds when mocking.
This commit is contained in:
parent
ab27175aa5
commit
5291ac1d7d
2 changed files with 2 additions and 0 deletions
|
@ -207,6 +207,7 @@ module Fog
|
||||||
|
|
||||||
reservation_set[instance['reservationId']] ||= {
|
reservation_set[instance['reservationId']] ||= {
|
||||||
'groupSet' => instance['groupSet'],
|
'groupSet' => instance['groupSet'],
|
||||||
|
'groupIds' => instance['groupIds'],
|
||||||
'instancesSet' => [],
|
'instancesSet' => [],
|
||||||
'ownerId' => instance['ownerId'],
|
'ownerId' => instance['ownerId'],
|
||||||
'reservationId' => instance['reservationId']
|
'reservationId' => instance['reservationId']
|
||||||
|
|
|
@ -160,6 +160,7 @@ module Fog
|
||||||
}
|
}
|
||||||
instances_set << instance
|
instances_set << instance
|
||||||
self.data[:instances][instance_id] = instance.merge({
|
self.data[:instances][instance_id] = instance.merge({
|
||||||
|
'groupIds' => [],
|
||||||
'groupSet' => group_set,
|
'groupSet' => group_set,
|
||||||
'iamInstanceProfile' => {},
|
'iamInstanceProfile' => {},
|
||||||
'networkInterfaces' => [],
|
'networkInterfaces' => [],
|
||||||
|
|
Loading…
Reference in a new issue