Fix verify config if a node has no instances
authorThomas Thrainer <thomasth@google.com>
Fri, 2 Aug 2013 05:29:45 +0000 (07:29 +0200)
committerThomas Thrainer <thomasth@google.com>
Fri, 2 Aug 2013 11:01:21 +0000 (13:01 +0200)
commitd3ff2741b8722867017c5b959aadb3ae2a32c254
tree532326c19da34865a7a44c26925a9f8f91cde677
parent37a8cb648f7ddbf76ae00a22e1ed705a59dbfee3
Fix verify config if a node has no instances

Do not try to provide a fake instance UUID called "no instances", as
trying to get the name for would fail and raise an exception.

Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
lib/cmdlib/cluster.py