!= instead of ==

This commit is contained in:
Daan Hoogland 2020-04-06 21:44:57 +02:00
parent 1be6b999f2
commit 20cb0b23b2
1 changed files with 1 additions and 1 deletions

View File

@ -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;