openstack 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/openstack/compute/server.rb +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.3
|
@@ -64,7 +64,7 @@ module Compute
|
|
64
64
|
@image = data["image"]
|
65
65
|
@flavor = data["flavor"]
|
66
66
|
@key_name = data["key_name"] # if provider uses the keys API extension for accessing servers
|
67
|
-
@security_groups = data["security_groups"].inject([]){|res, c| res << c["id"] ; res}
|
67
|
+
@security_groups = (data["security_groups"] || []).inject([]){|res, c| res << c["id"] ; res}
|
68
68
|
true
|
69
69
|
end
|
70
70
|
alias :refresh :populate
|