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: 051a0ad3e3a78f20fd942c90011fd5bce4798ccfbfe36a7b7f0e063e033d473c
4
- data.tar.gz: 258c191d94c95a896d9d0d2a8bac64f9c8583e83e9d8913fe10a4dbf936db9e8
3
+ metadata.gz: 1c378e9692ee1e7c01a00eaab2f387e2c6d8fc02c15805aabf6c73f81c07de3a
4
+ data.tar.gz: 51a2c95e0fd9e849e5397fca868eac4777007ac8ced777448fa9cea012f187d8
5
5
  SHA512:
6
- metadata.gz: 2c32d11143fa95c41d7502067fbc3f3acf818a836b115fbf942f80ac5107c832cf18a2f11afbe669a20973921b177e18cb39749d7984452f7f9f1db7f2c23bd5
7
- data.tar.gz: b9a9b2a0509d98e6e6cfd1f1e6c0ab2e429a3f477f52081249c8a1ba5eeb745a84495e1784e66d86009e07aa42a12430d62f094432f23b09c6f7709247613717
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
- 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 = '0.3.8'.freeze
3
+ VERSION = '0.3.9'.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: 0.3.8
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-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