mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
Fix bug in update_clone_target
This commit fixes a bug in update_clone_target where I believe `=` was intended, not `==` because `==` just goes to the void context here. Thanks Rubocop Lint/Void!
This commit is contained in:
parent
367565a3ee
commit
5dca8f9468
1 changed files with 1 additions and 1 deletions
|
|
@ -225,7 +225,7 @@ module Vmpooler
|
|||
|
||||
payload.each do |poolname, clone_target|
|
||||
unless pools[pool_index[poolname]]['clone_target'] == clone_target
|
||||
pools[pool_index[poolname]]['clone_target'] == clone_target
|
||||
pools[pool_index[poolname]]['clone_target'] = clone_target
|
||||
backend.hset('vmpooler__config__clone_target', poolname, clone_target)
|
||||
pools_updated += 1
|
||||
status 201
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue