From 65c76b8409723fa3c9c736f1106e56775b10c1d7 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 8 Jul 2019 15:49:00 +0200 Subject: capsman-rolling-upgrade: log with info, give identity --- capsman-rolling-upgrade | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/capsman-rolling-upgrade b/capsman-rolling-upgrade index 431ac02..11b32e1 100644 --- a/capsman-rolling-upgrade +++ b/capsman-rolling-upgrade @@ -12,8 +12,9 @@ :local Delay (600 / $RemoteCapCount); :if ($Delay > 120) do={ :set Delay 120; } :foreach RemoteCap in=[ / caps-man remote-cap find where version!=$InstalledVersion ] do={ - :local RemoteCapName [ / caps-man remote-cap get $RemoteCap name ]; - :log debug ("Starting upgrade for CAP " . $RemoteCapName . "..."); + :local RemoteCapVal [ / caps-man remote-cap get $RemoteCap ]; + :log info ("Starting upgrade for " . $RemoteCapVal->"name" . \ + " (" . $RemoteCapVal->"identity" . ")..."); / caps-man remote-cap upgrade $RemoteCap; :delay ($Delay . "s"); } -- cgit v1.2.3-70-g09d2