From 3a60ffbdbd58daaa964c4b62bfa92e991681090c Mon Sep 17 00:00:00 2001 From: Samuel Beaulieu Date: Thu, 24 Sep 2020 09:46:22 -0500 Subject: [PATCH] (maint) Don't require config file for list --active Will fallback to printing ABS information, which is less than what you get if vmpooler_fallback is available --- lib/vmfloaty/utils.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vmfloaty/utils.rb b/lib/vmfloaty/utils.rb index a569415..5a2775b 100644 --- a/lib/vmfloaty/utils.rb +++ b/lib/vmfloaty/utils.rb @@ -116,7 +116,7 @@ class Utils output_target.puts "- [JobID:#{host_data['request']['job']['id']}] <#{host_data['state']}>" host_data['allocated_resources'].each do |allocated_resources, _i| - if allocated_resources['engine'] == "vmpooler" + if allocated_resources['engine'] == "vmpooler" && service.config["vmpooler_fallback"] vmpooler_service = service.clone vmpooler_service.silent = true vmpooler_service.maybe_use_vmpooler