mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Add the 'new_image' public images, so that find_by_id can find it
This commit is contained in:
parent
3260077dbb
commit
fbf202f7c7
2 changed files with 39 additions and 3 deletions
|
@ -22,7 +22,25 @@ module Fog
|
|||
"disk_format"=>"ami",
|
||||
"container_format"=>"ami",
|
||||
"id"=>"0e09fbd6-43c5-448a-83e9-0d3d05f9747e",
|
||||
"checksum"=>"2f81976cae15c16ef0010c51e3a6c163"}]
|
||||
"checksum"=>"2f81976cae15c16ef0010c51e3a6c163"},
|
||||
{"name"=>"new image",
|
||||
"size"=>0,
|
||||
"min_disk"=>0,
|
||||
"disk_format"=>nil,
|
||||
"created_at"=>"2012-02-24T06:45:00",
|
||||
"container_format"=>nil,
|
||||
"deleted_at"=>nil,
|
||||
"updated_at"=>"2012-02-24T06:45:00",
|
||||
"checksum"=>nil,
|
||||
"id"=>"e41304f3-2453-42b4-9829-2e220a737395",
|
||||
"deleted"=>false,
|
||||
"protected"=>false,
|
||||
"is_public"=>false,
|
||||
"status"=>"queued",
|
||||
"min_ram"=>0,
|
||||
"owner"=>"728ecc7c10614a1faa6fbabd1a68a4a0",
|
||||
"properties"=>{}
|
||||
}]
|
||||
}
|
||||
response
|
||||
end # def list_tenants
|
||||
|
|
|
@ -42,6 +42,24 @@ module Fog
|
|||
"properties"=>{
|
||||
"ramdisk_id"=>"b45aa128-cd36-4ad9-a026-1a1c2bfd8fdc",
|
||||
"kernel_id"=>"cd28951e-e1c2-4bc5-95d3-f0495abbcdc5"}
|
||||
},
|
||||
{"name"=>"new image",
|
||||
"size"=>0,
|
||||
"min_disk"=>0,
|
||||
"disk_format"=>nil,
|
||||
"created_at"=>"2012-02-24T06:45:00",
|
||||
"container_format"=>nil,
|
||||
"deleted_at"=>nil,
|
||||
"updated_at"=>"2012-02-24T06:45:00",
|
||||
"checksum"=>nil,
|
||||
"id"=>"e41304f3-2453-42b4-9829-2e220a737395",
|
||||
"deleted"=>false,
|
||||
"protected"=>false,
|
||||
"is_public"=>false,
|
||||
"status"=>"queued",
|
||||
"min_ram"=>0,
|
||||
"owner"=>"728ecc7c10614a1faa6fbabd1a68a4a0",
|
||||
"properties"=>{}
|
||||
}]
|
||||
}
|
||||
response
|
||||
|
|
Loading…
Reference in a new issue