Skip to content

Commit

Permalink
Merge pull request fog#3643 from displague/patch-2
Browse files Browse the repository at this point in the history
update Linode avail_datacenters mock results
  • Loading branch information
plribeiro3000 committed Aug 2, 2015
2 parents 7ac9550 + c598654 commit 9f2e47a
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions lib/fog/linode/requests/compute/avail_datacenters.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,14 @@ def avail_datacenters
response.body = {
"ERRORARRAY" => [],
"DATA" => [
{ "LOCATION" => "Dallas, TX, USA", "DATACENTERID" => 2 },
{ "LOCATION" => "Fremont, CA, USA", "DATACENTERID" => 3 },
{ "LOCATION" => "Atlanta, GA, USA", "DATACENTERID" => 4 },
{ "LOCATION" => "Newark, NJ, USA", "DATACENTERID" => 6 },
{ "LOCATION" => "London, England, UK", "DATACENTERID" => 7 },
{ "LOCATION" => "Tokyo, JP", "DATACENTERID" => 8 },
{ "LOCATION" => "Singapore, SGP", "DATACENTERID" => 9 },
{ "LOCATION" => "Dallas, TX, USA", "DATACENTERID" => 2, "ABBR" => "dallas" },
{ "LOCATION" => "Fremont, CA, USA", "DATACENTERID" => 3, "ABBR" => "fremont" },
{ "LOCATION" => "Atlanta, GA, USA", "DATACENTERID" => 4, "ABBR" => "atlanta" },
{ "LOCATION" => "Newark, NJ, USA", "DATACENTERID" => 6, "ABBR" => "newark" },
{ "LOCATION" => "London, England, UK", "DATACENTERID" => 7, "ABBR" => "london" },
{ "LOCATION" => "Tokyo, JP", "DATACENTERID" => 8, "ABBR" => "tokyo" },
{ "LOCATION" => "Singapore, SGP", "DATACENTERID" => 9, "ABBR" => "singapore" },
{ "LOCATION" => "Frankfurt, DE", "DATACENTERID" => 10, "ABBR" => "frankfurt" },
],
"ACTION" => "avail.datacenters"
}
Expand Down

0 comments on commit 9f2e47a

Please sign in to comment.