1
0
Fork 0
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:
Dan Peterson 2012-08-01 13:20:39 -03:00
parent ab27175aa5
commit 5291ac1d7d
2 changed files with 2 additions and 0 deletions

View file

@ -207,6 +207,7 @@ module Fog
reservation_set[instance['reservationId']] ||= {
'groupSet' => instance['groupSet'],
'groupIds' => instance['groupIds'],
'instancesSet' => [],
'ownerId' => instance['ownerId'],
'reservationId' => instance['reservationId']

View file

@ -160,6 +160,7 @@ module Fog
}
instances_set << instance
self.data[:instances][instance_id] = instance.merge({
'groupIds' => [],
'groupSet' => group_set,
'iamInstanceProfile' => {},
'networkInterfaces' => [],