fog-openstack 1.0.5 → 1.0.6
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: e23ad986357ab94ab2780b46e51d875ea5aba8baeee2b8e348ae7c8c9808a2cc
|
4
|
+
data.tar.gz: 51d0bf4d28df10a04eb68f9c469fa36dea4710d041df9dd811be260b18989af2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8d920de1b55fa6cbe6934128c5cc4984e5cb30bd81614fa1a3c8ef4eb3f6af42cb986462f007023260a920299fd3d6594f220d07c9d04ab833e2eefa35652d1
|
7
|
+
data.tar.gz: d9c002204bdedc0f16cb82d76e2970138c91b568cdefda9d94c342c1d9499a5f5a9e156fe1c65bd0a3629118d3feae1a23e02cf2c8c449f7e84a78f0577886fe
|
@@ -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: 1.0.
|
4
|
+
version: 1.0.6
|
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
|