From cdc23ad49054b7a13aba2dfaf9e75f66f8769543 Mon Sep 17 00:00:00 2001 From: Digimer Date: Fri, 17 Jun 2022 16:43:50 -0400 Subject: [PATCH] Small logging fix to striker-auto-initialize-all. Signed-off-by: Digimer --- tools/striker-auto-initialize-all | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/striker-auto-initialize-all b/tools/striker-auto-initialize-all index 5eb32e8e..5c3c7c7f 100755 --- a/tools/striker-auto-initialize-all +++ b/tools/striker-auto-initialize-all @@ -618,7 +618,8 @@ sub initialize_machines if ($network !~ /^sn/) { push @{$machine_ips}, $ip_address; - $anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 2, list => { ip_count => @{$machine_ips} }}); + my $ip_count = @{$machine_ips}; + $anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 2, list => { ip_count => $ip_count }}); } if (not $machine_host_uuid)