CE-113 removed TODOs

This commit is contained in:
Daan Hoogland 2017-04-06 11:33:53 +02:00
parent 8065aedf68
commit 4fd72917cd
2 changed files with 0 additions and 4 deletions

View File

@ -282,9 +282,6 @@ public class SnapshotServiceImpl implements SnapshotService {
try {
SnapshotResult res = future.get();
if (res.isFailed()) {
// TODO add cleanup actions in this case
// TODO think of whether a runtime exception is really what we want]
throw new CloudRuntimeException(res.getResult());
}
SnapshotInfo destSnapshot = res.getSnapshot();

View File

@ -1995,7 +1995,6 @@ public class VolumeServiceImpl implements VolumeService {
snapshot = snapshotMgr.takeSnapshot(volume);
} catch (CloudRuntimeException cre) {
s_logger.error("Take snapshot: " + volume.getId() + " failed", cre);
// TODO deal with cleaning the mess
throw cre;
} catch (Exception e) {
if(s_logger.isDebugEnabled()) {