At the moment our verification if socket has been changed
is not valid, since we're checking if string 'true' is presnet in the
list, while list consist of only boolean variables. So we replace
map filter with selectattr as it can apply truthy test to the elements
while selecting them and checking list length.
Change-Id: Ib456b4dc2d631bf81633035820444f13ec0f06cb
Related-Bug: #2003631
(cherry picked from commit 6a40ec0b85b96e529eb0e3e1e1a1f62cf34d80d2)
Reviewed: https:/ /review. opendev. org/c/openstack /ansible- role-systemd_ service/ +/871751 /opendev. org/openstack/ ansible- role-systemd_ service/ commit/ 6551e127f283e20 2956e0efb89d9e3 caed2c4007
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/zed
commit 6551e127f283e20 2956e0efb89d9e3 caed2c4007
Author: Dmitriy Rabotyagov <email address hidden>
Date: Mon Jan 23 16:29:46 2023 +0100
Ensure daemon is reloaded on socket change
At the moment our verification if socket has been changed
is not valid, since we're checking if string 'true' is presnet in the
list, while list consist of only boolean variables. So we replace
map filter with selectattr as it can apply truthy test to the elements
while selecting them and checking list length.
Change-Id: Ib456b4dc2d631b f81633035820444 f13ec0f06cb 29eb0e3e1e1a1f6 2cf34d80d2)
Related-Bug: #2003631
(cherry picked from commit 6a40ec0b85b96e5