1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[compute|brightbox] Fixed server_groups.get

Helps to use the correct request.
This commit is contained in:
Paul Thornthwaite 2011-09-21 09:43:22 +01:00
parent 1099a03b10
commit 9596bea466

View file

@ -16,7 +16,7 @@ module Fog
def get(identifier)
return nil if identifier.nil? || identifier == ""
data = connection.get_zone(identifier)
data = connection.get_server_group(identifier)
new(data)
rescue Excon::Errors::NotFound
nil