From a5a2740762b6aeceea54aa896095af47d0acc9d9 Mon Sep 17 00:00:00 2001 From: Brandon High Date: Thu, 5 Mar 2020 12:01:34 -0800 Subject: [PATCH] Consistent Style/FormatStringToken This commit fixes the various calls to `format` to consistently use the keyword token style. Hopefully this is more understandable and explicit? --- lib/vmpooler/pool_manager.rb | 12 ++++++------ lib/vmpooler/providers/vsphere.rb | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/vmpooler/pool_manager.rb b/lib/vmpooler/pool_manager.rb index 22d7764..6913f58 100644 --- a/lib/vmpooler/pool_manager.rb +++ b/lib/vmpooler/pool_manager.rb @@ -121,7 +121,7 @@ module Vmpooler def move_pending_vm_to_ready(vm, pool) clone_time = $redis.hget('vmpooler__vm__' + vm, 'clone') - finish = format('%.2f', Time.now - Time.parse(clone_time)) if clone_time + finish = format('%