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: 5ffb4956f61d6b5875ab17a4dd48dcea486aceb252a7e9590782475ba772ffb9
4
- data.tar.gz: eade90ab213be5fddbe842351ec4b487f4767709337a0d84e09e2b65e844c4e3
3
+ metadata.gz: 3af88b8517cdc84f1790d279bc67a75efd961f05985421be83f5069f2b191c74
4
+ data.tar.gz: 16d46d5d5114ff70da1abce923626a1dbe4529ae95bdc332e316e2a6a1a4f7dc
5
5
  SHA512:
6
- metadata.gz: ad9a82a48ba92cdb59da5eeca02adbd63945e5d059cbb6e2524b285371618e5ece6f67231aac102b6d37aa993a00d649c53390e807ce28102b5b10db47470ab1
7
- data.tar.gz: e18c7fcfd47da903b2d45e317e342fef7ac010a9cd6eebc1f2871bc5fc4eef1b30abb423fc13f330f3db578ebd30c23587bb0217756c24b49e6d22750c244400
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
- 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.1.28'.freeze
3
+ VERSION = '0.1.29'.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.1.28
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-02 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