mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[digitalocean|compute] list_servers uses mock data
This commit is contained in:
parent
9dbdc392d5
commit
4dc45ea932
1 changed files with 1 additions and 12 deletions
|
@ -20,18 +20,7 @@ module Fog
|
|||
response.status = 200
|
||||
response.body = {
|
||||
"status" => "OK",
|
||||
"droplets" => [
|
||||
# Sample droplet
|
||||
#{
|
||||
# "backups_active" => nil,
|
||||
# "id" => 100823,
|
||||
# "image_id" => 420,
|
||||
# "name" => "test222",
|
||||
# "region_id" => 1,
|
||||
# "size_id" => 33,
|
||||
# "status" => "active"
|
||||
#}
|
||||
]
|
||||
"droplets" => self.data[:servers]
|
||||
}
|
||||
response
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue