filter_missing_packages expects a list, not string
filter_missing_packages expects a list and not a single package name as
a string. Pass the chrony package as a single item list to avoid it
checking installation candiates for 'c', 'h', 'r', 'o', 'n' and 'y'
This patch simplifies the function, which makes it a little easier to
reason about. Also a test is added to stop regressions in the future.
Reviewed: https:/ /review. opendev. org/c/openstack /charms. ceph/+/ 792881 /opendev. org/openstack/ charms. ceph/commit/ d1515daf737ceac a8e544b15bdcee5 c10f67888e
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/21.04
commit d1515daf737ceac a8e544b15bdcee5 c10f67888e
Author: Trent Lloyd <email address hidden>
Date: Thu May 20 11:47:43 2021 +0800
filter_ missing_ packages expects a list, not string
filter_ missing_ packages expects a list and not a single package name as
a string. Pass the chrony package as a single item list to avoid it
checking installation candiates for 'c', 'h', 'r', 'o', 'n' and 'y'
This patch simplifies the function, which makes it a little easier to
reason about. Also a test is added to stop regressions in the future.
[1] Ie3c9c5899c1d46 edd21c32868938d 3290db321e7 7d2181ec75e406a a35f88b8b5b
[2] Ifef76eacd8bd83
Closes-Bug: #1929054
Change-Id: I93f53274bc8c7e 62ebb8cb7bf81ff 816f4bfd98b