Fix wrong invoke of allDone
@@ -417,11 +417,11 @@ public class NfsPrimaryStorageKVMBackend implements NfsPrimaryStorageBackend,
nfsFactory.updateNfsHostStatus(psUuid, huuid, PrimaryStorageHostStatus.Disconnected);
logger.warn(err.toString());
errs.add(err);
- compl.done();
} else {
nfsFactory.updateNfsHostStatus(psUuid, huuid, PrimaryStorageHostStatus.Connected);
- compl.allDone();
}
+
+ compl.done();
}
});
}).run(new NoErrorCompletion(completion) {
