Commit 8aec325c authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix LUQueryInstances fields.

The query fields are now regular expressions. We need to quote the dots,
otherwise invalid fields will be accepted but they will lose special
formatting in the cli scripts.

Reviewed-by: imsnah
parent 9b977740
......@@ -3141,11 +3141,11 @@ class LUQueryInstances(NoHooksLU):
"disk_template", "ip", "mac", "bridge",
"sda_size", "sdb_size", "vcpus", "tags",
"network_port", "beparams",
"(disk).(sizes)", "disk_usage",
r"(disk)\.(sizes)", "disk_usage",
"serial_no", "hypervisor", "hvparams",] +
["hv/%s" % name
for name in constants.HVS_PARAMETERS] +
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment