fog-openstack 0.1.28 → 0.1.29
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: 3af88b8517cdc84f1790d279bc67a75efd961f05985421be83f5069f2b191c74
|
4
|
+
data.tar.gz: 16d46d5d5114ff70da1abce923626a1dbe4529ae95bdc332e316e2a6a1a4f7dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67494504fbe49f0c1fbd989196d03bdda279d7c24a6901f0cc99835e344d414d9e7d920001ffe9394d33308024204742917c9f770c9f8d40aa3e3410efcb400f
|
7
|
+
data.tar.gz: 695b34e193b294338946b76c7d1681a6e25546e9f1b8cd33b661d2b17cb0bc77a2b17457702ca7b2b17da40a0b9ba33be6f2148ec570a5388c445a3ed29043a4
|
@@ -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.1.
|
4
|
+
version: 0.1.29
|
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-
|
11
|
+
date: 2018-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fog-core
|