diff options
author | Christian Hesse <mail@eworm.de> | 2019-07-08 15:49:00 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2019-07-08 15:49:00 +0200 |
commit | 65c76b8409723fa3c9c736f1106e56775b10c1d7 (patch) | |
tree | 1cc06ccb33a88bf571e7233eb726a44c184b4a5b /capsman-rolling-upgrade | |
parent | 43d77cb62de30c9419315bc90ca8840dd436dcaa (diff) |
capsman-rolling-upgrade: log with info, give identity
Diffstat (limited to 'capsman-rolling-upgrade')
-rw-r--r-- | capsman-rolling-upgrade | 5 |
1 files 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"); } |