Revision 8631b46b lib/cmdlib/test.py
b/lib/cmdlib/test.py | ||
---|---|---|
52 | 52 |
This expands the node list, if any. |
53 | 53 |
|
54 | 54 |
""" |
55 |
|
|
56 |
if self.op.duration <= 0: |
|
57 |
raise errors.OpPrereqError("Duration must be greater than zero") |
|
58 |
|
|
55 | 59 |
self.op.on_node_uuids = [] |
56 | 60 |
if self.op.on_nodes: |
57 | 61 |
# _GetWantedNodes can be used here, but is not always appropriate to use |
Also available in: Unified diff