diff --git a/lib/vmpooler/api/v3.rb b/lib/vmpooler/api/v3.rb index 41c64804..30b5b7c5 100644 --- a/lib/vmpooler/api/v3.rb +++ b/lib/vmpooler/api/v3.rb @@ -283,11 +283,9 @@ def component_to_test(match, labels_string) def update_user_metrics(operation, vmname) tracer.in_span("Vmpooler::API::V3.#{__method__}") do |span| begin - backend.multi - backend.hget("vmpooler__vm__#{vmname}", 'tag:jenkins_build_url') - backend.hget("vmpooler__vm__#{vmname}", 'token:user') - backend.hget("vmpooler__vm__#{vmname}", 'template') - jenkins_build_url, user, poolname = backend.exec + jenkins_build_url = backend.hget("vmpooler__vm__#{vmname}", 'tag:jenkins_build_url') + user = backend.hget("vmpooler__vm__#{vmname}", 'token:user') + poolname = backend.hget("vmpooler__vm__#{vmname}", 'template') poolname = poolname.gsub('.', '_') if user