kitchen-vcenter 2.8.0 → 2.8.2

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: f3fb477d8c5d39ca1340bb9593fbbbfcd54d3fceb477f6aeb996f92bd0c62897
4
- data.tar.gz: fe45e70e975a4a26e87f92c3ce46d844993c954bfcd41c9dc9808229aadb1ec2
3
+ metadata.gz: 2d5417e5d754588145debfc8db0f0175534341c092657af6fb20a04ae9646595
4
+ data.tar.gz: 437667ada8dd0e3c4ac060a8ce969c16628e0275c35f3c4fa19b3ce057756577
5
5
  SHA512:
6
- metadata.gz: fe27bc6dc42e1ccfbcb8593281337b8aa5f7c20eae4c7a66a63887daef0d6be6d31ce82ef82e91cc90cf9e297ea3a096999ed00801737919879341e623d489c8
7
- data.tar.gz: cf02a3623872e75f65bbe7a106ed616bf50f705fcbf39bdd36d7d5c4c88a2335f872075ce88736df4587536c2dccce09a3feeff3d8431cf9091dc329e829638b
6
+ metadata.gz: 02d794cea042ee339e00bd767c435e4c5953c3bbddeffc2ed7770aa921c13c0c8de86b3d7ee27d401f492d3c0037f0daae461d34a0a500afa4ae5b1dec965031
7
+ data.tar.gz: dee89ccfabedd365d9e6d6a230af353ac02bae25bb4480c4c58ef0b583b09d443b727db701b6f5a4cc8b56d193ed78989262fe79731b81b4ecf526b666a371cc
@@ -20,5 +20,5 @@
20
20
  # The main kitchen-vcenter module
21
21
  module KitchenVcenter
22
22
  # The version of this version of test-kitchen we assume enterprises want.
23
- VERSION = "2.8.0"
23
+ VERSION = "2.8.2"
24
24
  end
@@ -383,7 +383,7 @@ module Kitchen
383
383
  #
384
384
  # @param [name] name is the name of the Cluster
385
385
  def get_cluster_id(name)
386
- return nil if name.nil?
386
+ return if name.nil?
387
387
 
388
388
  cluster_api = VSphereAutomation::VCenter::ClusterApi.new(api_client)
389
389
  clusters = cluster_api.list({ filter_names: name }).value
@@ -365,7 +365,7 @@ class Support
365
365
 
366
366
  disk_spec.device.controllerKey = controller.key
367
367
 
368
- highest_id = vm.disks.map(&:unitNumber).sort.last
368
+ highest_id = vm.disks.map(&:unitNumber).max
369
369
  next_id = highest_id + idx + 1
370
370
 
371
371
  # Avoid the SCSI controller ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-vcenter
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.0
4
+ version: 2.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chef Software
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-09 00:00:00.000000000 Z
11
+ date: 2020-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rbvmomi