[pmg-devel] applied: [PATCH pmg-api v2] pmg-daily: avoid short-circuting update of local channels

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Jul 13 11:13:22 CEST 2022


Am 13/07/2022 um 11:09 schrieb Stoiko Ivanov:
> by using ||= directly with the actual update call, it does not get
> run, if `sa-update` already returned that a restart is needed.
> 
> reported in our community forum:
> https://forum.proxmox.com/threads/.112112/
> 
> Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
> ---
> v1->v2:
> * dropped the temporary variable in favor of a post-if (more in line
>   with our remaining code - and actually prettier imho) - thx at Thomas
>   for the suggestion!
>  src/bin/pmg-daily | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
>

applied, thanks!




More information about the pmg-devel mailing list