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: 1cd8af2264d9aa18c6e1f74ca95f0a049437b2e1b8f5b62964161ba18ac9b8c6
4
- data.tar.gz: a6744cca1c263d808e6c41e81b4d64ed4bd6b9837cfcec6765e928f649f16a54
3
+ metadata.gz: e23ad986357ab94ab2780b46e51d875ea5aba8baeee2b8e348ae7c8c9808a2cc
4
+ data.tar.gz: 51d0bf4d28df10a04eb68f9c469fa36dea4710d041df9dd811be260b18989af2
5
5
  SHA512:
6
- metadata.gz: f589107074030e8d7a6d024180d46d201b1d5bcefd631ffa8977327840fb18a59daad8071ce2773914ffe3b40996d2b0a5aa7869135dd9bc2ebc361c2cbc5966
7
- data.tar.gz: 232bcf5494c494ce9bc22e9a84f1f56724ba9acab4f5ed81bf8f1121bca8b413c2d004bf2e571589ad918c94ddddeb3a7d60223bf80da90785fb11bf704794b5
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
- evacuate['onSharedStorage'] = on_shared_storage if on_shared_storage
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
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module OpenStack
3
- VERSION = '1.0.5'.freeze
3
+ VERSION = '1.0.6'.freeze
4
4
  end
5
5
  end
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.5
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-10-30 00:00:00.000000000 Z
11
+ date: 2018-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog-core