fog-openstack 0.3.8 → 0.3.9
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c378e9692ee1e7c01a00eaab2f387e2c6d8fc02c15805aabf6c73f81c07de3a
|
4
|
+
data.tar.gz: 51a2c95e0fd9e849e5397fca868eac4777007ac8ced777448fa9cea012f187d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95c9130fe07c20873b2eca8554013afe0801d1890c9cfc58248bf758787b8c512115812c2c07dea504310fa6dfac53315416e64ac51b7cd200bb4bc0a6070128
|
7
|
+
data.tar.gz: 454d0e85c59a06b00cdceb8aedb990ddc3e09cf151154f259c2bb0b29b04a7ed73e259a65a5f68634885f88be36c80c69bb36ea7b0f26ba630566536d29f6c65
|
@@ -5,7 +5,11 @@ module Fog
|
|
5
5
|
def evacuate_server(server_id, host = nil, on_shared_storage = nil, admin_password = nil)
|
6
6
|
evacuate = {}
|
7
7
|
evacuate['host'] = host if host
|
8
|
-
|
8
|
+
|
9
|
+
if !microversion_newwer_than('2.13') && on_shared_storage
|
10
|
+
evacuate['onSharedStorage'] = on_shared_storage
|
11
|
+
end
|
12
|
+
|
9
13
|
evacuate['adminPass'] = admin_password if admin_password
|
10
14
|
body = {
|
11
15
|
'evacuate' => evacuate
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fog-openstack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Darby
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fog-core
|