Limit match only on VM name
I can see no possible reason to want to do limits against UUIDs, but supporting that means match is not what one would expect since a random UUID could match the limit. So only limit based on the name.
This commit is contained in:
parent
cd860bae6b
commit
c54f66efa8
|
@ -843,8 +843,6 @@ def get_list(zkhandler, node, state, limit, is_fuzzy=True):
|
|||
# Check on limit
|
||||
if limit:
|
||||
try:
|
||||
if re.match(limit, vm):
|
||||
is_limit_match = True
|
||||
if re.match(limit, name):
|
||||
is_limit_match = True
|
||||
except Exception as e:
|
||||
|
|
Loading…
Reference in New Issue