Commit 895ecd9c authored by Guido Trotter's avatar Guido Trotter
Browse files

LUQueryExports: make 'node' field mandatory

It turns out this fields was already mandatory. If it hadn't beed valid,
in fact, a value of None would have been passed to _GetWantedNodes which
would have thrown an exception.

Reviewed-by: iustinp
parent 204f2086
......@@ -4457,7 +4457,7 @@ class LUQueryExports(NoHooksLU):
"""Query the exports list
"""
_OP_REQP = []
_OP_REQP = ['nodes']
def CheckPrereq(self):
"""Check that the nodelist contains only existing nodes.
......
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