vmpooler-provider-vsphere 3.3.3 → 3.3.4

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: 9346926feaba4ff83c3a01469b879241d70d441e7b736dc50001e833925c5e99
4
- data.tar.gz: b3130b8655080da52ab06c05608c52b0971b9fa9004f7b5fce9d6ac706acccb0
3
+ metadata.gz: 89055d5655c089933c5e57db2fc1208fe6e52c0ab6b7a28001056fabac1d6be0
4
+ data.tar.gz: f319d467743e1ff8a570f07d6f019542bdc9b860c515728ffb3935fbcfd7a67c
5
5
  SHA512:
6
- metadata.gz: aee88c0ad11aeee8f52ae618ea665b279712ed69fb938c6e8c933951f1c86419b2d6a6662b7b76fe10e58ffc1d00e8b9bd7efc2b4b1c3c0fd05230e5a401e15c
7
- data.tar.gz: 9d839e48ad53a8608c86f35f6ab4788cef341f18aaa0cae2d341007d60ce15ad732fa17773420ace69736ec48fc553dc04748f2f6c249fb942c6f6b98d2319df
6
+ metadata.gz: 3ab52b86c880df03c88934336d99a6ab0314eb758fe6e623cd88269e61a1214e64db692c60d72adfa4b9b8230caa02aecb025d527127792f8efcde3708a73ea3
7
+ data.tar.gz: 50205ce2612b97551072c2fbdc6383e0e49e27f12ae8c6264a80b7b69a5b3a7a8d32d2c53382ce12d0a70bcdaf8dda00adbfc7ea3e5f3524de4e5ccec2d366aa
@@ -71,7 +71,7 @@ module Vmpooler
71
71
  redis.multi do |transaction|
72
72
  transaction.srem("vmpooler__completed__#{pool}", vm_name)
73
73
  transaction.hdel("vmpooler__active__#{pool}", vm_name)
74
- transaction.hset("vmpooler__vm__#{vm_name}", 'destroy', Time.now)
74
+ transaction.hset("vmpooler__vm__#{vm_name}", 'destroy', Time.now.to_s)
75
75
 
76
76
  # Auto-expire metadata key
77
77
  transaction.expire("vmpooler__vm__#{vm_name}", (data_ttl * 60 * 60))
@@ -1139,7 +1139,7 @@ module Vmpooler
1139
1139
  @redis.with_metrics do |redis|
1140
1140
  redis.multi do |transaction|
1141
1141
  transaction.hset("vmpooler__vm__#{vm_name}", 'host', target_host_name)
1142
- transaction.hset("vmpooler__vm__#{vm_name}", 'migrated', true)
1142
+ transaction.hset("vmpooler__vm__#{vm_name}", 'migrated', 'true')
1143
1143
  end
1144
1144
  end
1145
1145
  logger.log('s', "[>] [#{pool_name}] '#{vm_name}' migrated from #{vm_hash['host_name']} to #{target_host_name} in #{finish} seconds")
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module VmpoolerProviderVsphere
4
- VERSION = '3.3.3'
4
+ VERSION = '3.3.4'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vmpooler-provider-vsphere
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.3
4
+ version: 3.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-28 00:00:00.000000000 Z
11
+ date: 2023-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement