fog-vsphere 3.3.0 → 3.3.1

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: f4eadb848b90d4f61c0f6f234cedcd9f00029541bf7c32b1bafaf0e24ea79a4d
4
- data.tar.gz: 79ff4b683e18adfbf7a778f752ece735c89d9f20ac374724c84ebd7406e84994
3
+ metadata.gz: d522f89cf7a0b460bc53861f70f2c14e2e7b9eb28077b6e98ce2bb7c043f88a6
4
+ data.tar.gz: f8f87ac00f957fb5506b4b52c404ab92e1a1ba17dd5fb77018e858537e4381cd
5
5
  SHA512:
6
- metadata.gz: 98652665e4dfa7dde5b8a43ec5f5639e7dfa16c40d6a143af55efe6dfa2a0263f8885cafb2dd17273ed868cc601e24c67bbb5d1f02f172fe35177244dfc7425e
7
- data.tar.gz: 6cd506d0766257d3e0c2e16843dcd37d033e2f433c7d61f8af42d8709e68a4f027581a4ccf36d83966f3b48ac2f18fca7c720efcefd9602b219aa65478d5408b
6
+ metadata.gz: a2b9cd261f022e924d7316f242f9ae7605f657c34254bc0ca98baa6ef3b29218596a141fcba07a2b01b4ca346d6fa43733046cef87c285adbb4cab9682ad0701
7
+ data.tar.gz: 60a07472cf4acd475431f5b54017a6e5b62ad6c70b35ec969f5ca198158b9b657aa6fa38a631c1679a8cc8eb80bdef3dbc0ba9a6d7108d376cc1c6a60eb5840b
@@ -1,3 +1,9 @@
1
+ ## v3.3.1
2
+ Fixes eager zero flag (#251, #252)
3
+
4
+ ## v3.3.0
5
+ * Add support for nsx-t (#248)
6
+
1
7
  ## v3.2.5
2
8
  * Check cluster existance properly (#239)
3
9
 
@@ -300,7 +300,7 @@ module Fog
300
300
  file_operation = options[:file_operation] || (:create if operation == :add)
301
301
  payload[:fileOperation] = file_operation if file_operation
302
302
 
303
- if operation == :add && disk.thin == 'false' && disk.eager_zero == 'true'
303
+ if operation == :add && !disk.thin && disk.eager_zero
304
304
  payload[:device][:backing][:eagerlyScrub] = disk.eager_zero
305
305
  end
306
306
 
@@ -37,6 +37,11 @@ module Fog
37
37
  rescue
38
38
  (nil)
39
39
  end),
40
+ eager_zero: (begin
41
+ vol.backing.eagerlyScrub
42
+ rescue
43
+ (nil)
44
+ end),
40
45
  mode: vol.backing.diskMode,
41
46
  filename: vol.backing.fileName,
42
47
  datastore: (begin
@@ -838,6 +838,7 @@ module Fog
838
838
  end
839
839
  template_volume.backing.diskMode = new_volume.mode
840
840
  template_volume.backing.thinProvisioned = new_volume.thin
841
+ template_volume.backing.eagerlyScrub = !new_volume.thin && new_volume.eager_zero
841
842
  specs << { operation: :edit, device: template_volume }
842
843
  else
843
844
  specs << { operation: :remove,
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module Vsphere
3
- VERSION = '3.3.0'.freeze
3
+ VERSION = '3.3.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog-vsphere
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.0
4
+ version: 3.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - J.R. Garcia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-07 00:00:00.000000000 Z
11
+ date: 2020-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog-core
@@ -335,8 +335,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
335
335
  - !ruby/object:Gem::Version
336
336
  version: '0'
337
337
  requirements: []
338
- rubyforge_project:
339
- rubygems_version: 2.7.6.2
338
+ rubygems_version: 3.0.3
340
339
  signing_key:
341
340
  specification_version: 4
342
341
  summary: Module for the 'fog' gem to support VMware vSphere.