mirror of https://github.com/apache/cloudstack.git
!= instead of ==
This commit is contained in:
parent
1be6b999f2
commit
20cb0b23b2
|
|
@ -270,7 +270,7 @@ public class DefaultSnapshotStrategy extends SnapshotStrategyBase {
|
|||
} else {
|
||||
s_logger.debug(String.format("The snapshot (id: %d) could not be found/deleted on primary storage.", snapshotId));
|
||||
}
|
||||
if (null == deletedOnSecondary && deletedOnSecondary) {
|
||||
if (null != deletedOnSecondary && deletedOnSecondary) {
|
||||
s_logger.debug(String.format("Successfully deleted snapshot (id: %d) on secondary storage.", snapshotId));
|
||||
}
|
||||
return (deletedOnSecondary != null) && deletedOnSecondary || deletedOnPrimary;
|
||||
|
|
|
|||
Loading…
Reference in New Issue