Commit 01c54e5b authored by Leigh Stoller's avatar Leigh Stoller

Update profile.py

parent 9adc36a3
...@@ -76,6 +76,8 @@ if params.node_id.strip() == "": ...@@ -76,6 +76,8 @@ if params.node_id.strip() == "":
pc.reportError(portal.ParameterError("You must specify a node.", ["node_id"])) pc.reportError(portal.ParameterError("You must specify a node.", ["node_id"]))
if params.iface.strip() == "": if params.iface.strip() == "":
pc.reportError(portal.ParameterError("You must specify an interface.", ["iface"])) pc.reportError(portal.ParameterError("You must specify an interface.", ["iface"]))
if params.n and params.phystype == "":
pc.reportError(portal.ParameterError("You must specify a type for compute nodes", ["phystype"]))
# Multivalue field errors must reference by index. # Multivalue field errors must reference by index.
index = 0 index = 0
......
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