mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[rackspace|mock] use random ids for server and image
This commit is contained in:
parent
a4a09cf9a3
commit
b8e7dfeca3
2 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ module Fog
|
|||
now = Time.now
|
||||
data = {
|
||||
'created' => now,
|
||||
'id' => 123456,
|
||||
'id' => Fog::Mock.random_numbers(6),
|
||||
'name' => options['name'] || '',
|
||||
'serverId' => server_id,
|
||||
'status' => 'SAVING',
|
||||
|
|
|
@ -74,7 +74,7 @@ module Fog
|
|||
data = {
|
||||
'addresses' => { 'private' => ['0.0.0.0'], 'public' => ['0.0.0.0'] },
|
||||
'flavorId' => flavor_id,
|
||||
'id' => 123456,
|
||||
'id' => Fog::Mock.random_numbers(6),
|
||||
'imageId' => image_id,
|
||||
'hostId' => "123456789ABCDEF01234567890ABCDEF",
|
||||
'metadata' => options['metadata'] || {},
|
||||
|
|
Loading…
Reference in a new issue