cluster epo: Fix bug where IndexError is raised
authorMichael Hanselmann <hansmi@google.com>
Wed, 10 Oct 2012 11:16:30 +0000 (13:16 +0200)
committerMichael Hanselmann <hansmi@google.com>
Wed, 10 Oct 2012 11:27:37 +0000 (13:27 +0200)
commit45a36f3632343b94801895d303ab7fd7f60a9183
treecbee7d89a7e5a5a3a6c9044f2683175d91ccdabc
parent558377569146536beb543ce14a22c876605bf2f9
cluster epo: Fix bug where IndexError is raised

Updating the “node_query_list” variable would fail if no arguments were
passed and the “--all” option wasn't specified. A follow-up patch will
add unit tests.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/client/gnt_cluster.py