Commit 0a70a72a authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix an error handling case

Found while reviewing documentation.

Reviewed-by: ultrotter
parent 2e3d1946
......@@ -98,7 +98,7 @@ def GetMasterInfo():
master_node = cfg.GetMasterNode()
except errors.ConfigurationError, err:
logging.exception("Cluster configuration incomplete")
return (None, None)
return (None, None, None)
return (master_netdev, master_ip, master_node)
......
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