pvc/daemon-common
Joshua Boniface c776aba8b3 Standardize fuzzy matching and use fullmatch
Solves two problems:

1. How match fuzziness was used was very inconsistent; make them all the
same, i.e. "if is_fuzzy and limit, apply .* to both sides".

2. Use re.fullmatch instead of re.match to ensure exact matching of the
regex to the value. Without fuzziness, this would sometimes cause
inconsistent behavior, for instance if a limit was non-fuzzy "vm",
expecting to match the actual "vm", but also matching "vm1" too.
2021-12-06 16:35:29 -05:00
..
migrations/versions Add handlers for client network MTUs 2021-10-09 17:02:27 -04:00
ceph.py Standardize fuzzy matching and use fullmatch 2021-12-06 16:35:29 -05:00
cluster.py Reformat code with Black code formatter 2021-11-06 03:02:43 -04:00
common.py Reformat code with Black code formatter 2021-11-06 03:02:43 -04:00
log.py Reformat code with Black code formatter 2021-11-06 03:02:43 -04:00
network.py Standardize fuzzy matching and use fullmatch 2021-12-06 16:35:29 -05:00
node.py Standardize fuzzy matching and use fullmatch 2021-12-06 16:35:29 -05:00
vm.py Standardize fuzzy matching and use fullmatch 2021-12-06 16:35:29 -05:00
zkhandler.py Reformat code with Black code formatter 2021-11-06 03:02:43 -04:00