openstack 3.3.8 → 3.3.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/openstack/compute/connection.rb +1 -1
- data/lib/openstack/compute/server.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6cf5b9c2abe7046ed912fcd7157e5e381dd604c2
|
4
|
+
data.tar.gz: d64ab8da5df36ef8d1dc89298f8954a5fbb9202c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67c5b5cdc72ebc746039961915078a0421de3fb1af51ad57c340cc19c1d8c292c52425c92129521fe80b09ccf2bde8ee0a5e00ac55b2582e4b6dd24599c94d58
|
7
|
+
data.tar.gz: abc8b00eb3856807632fe95a7388bc53afb461cffa99d579a2518dfbe049a47dd194db9f510f94a873e3bf12d12bfcb7e64875ce8d8807cf13ae8b14fb6f6ae4
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.3.
|
1
|
+
3.3.9
|
@@ -126,7 +126,7 @@ module Compute
|
|
126
126
|
OpenStack::Exception.raise_exception(response) unless response.code.match(/^20.$/)
|
127
127
|
server_info = JSON.parse(response.body)['server']
|
128
128
|
server = OpenStack::Compute::Server.new(self,server_info['id'])
|
129
|
-
server.adminPass = server_info['adminPass']
|
129
|
+
server.adminPass = server_info['adminPass'] if server_info['adminPass']
|
130
130
|
server
|
131
131
|
end
|
132
132
|
|
@@ -190,7 +190,7 @@ module Compute
|
|
190
190
|
OpenStack::Exception.raise_exception(response) unless response.code.match(/^20.$/)
|
191
191
|
data = JSON.parse(response.body)['server']
|
192
192
|
self.populate(data)
|
193
|
-
self.adminPass = data['adminPass']
|
193
|
+
self.adminPass = data['adminPass'] if data['adminPass']
|
194
194
|
true
|
195
195
|
end
|
196
196
|
|