Check that we have a valid export list
authorGuido Trotter <ultrotter@google.com>
Mon, 28 Jan 2008 09:43:38 +0000 (09:43 +0000)
committerGuido Trotter <ultrotter@google.com>
Mon, 28 Jan 2008 09:43:38 +0000 (09:43 +0000)
commitd792fe4f587dda5e53977daaf0d3a1c1eca322dd
treedc2ab52794acd21721e06702b9ecfab537180b97
parent96ce44cb0f80ccfa021a8d36f3fac031c3279699
Check that we have a valid export list

Before iterating over the list of exports present on a node, check that what
ganeti returned is actually a list. This solves the case when one of the nodes
is down, and an error value is returned.

This fixes issue 21

Reviewed-by: iustinp
scripts/gnt-backup