import: only use swap if swap_uuid is defined
authorGuido Trotter <ultrotter@google.com>
Wed, 18 Feb 2009 17:05:24 +0000 (17:05 +0000)
committerGuido Trotter <ultrotter@google.com>
Wed, 18 Feb 2009 17:05:24 +0000 (17:05 +0000)
commit8b864881ebd5f722d635b9cb8656cc44d0fae617
tree2cadeef60066a2e89c7b3328a412fb47541e44fc
parenteb23d042c2e63e26d9b69edbd137494778cf40e5
import: only use swap if swap_uuid is defined

As for create sometimes we'll fail in getting a uuid for the swap
disk. In that case we have to ignore that, while in import we're failing
to do so.

Reviewed-by: iustinp
import