mirror of https://github.com/apache/cloudstack.git
CE-113 removed TODOs
This commit is contained in:
parent
8065aedf68
commit
4fd72917cd
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue