build: fix build failure after merge-forward

This commit is contained in:
Wei Zhou 2024-03-20 14:07:42 +01:00
parent 0e32380e0a
commit 502a633ddd

View File

@ -417,7 +417,7 @@ public class SnapshotSchedulerImpl extends ManagerBase implements SnapshotSchedu
} }
if (_volsDao.findById(policy.getVolumeId()) == null) { if (_volsDao.findById(policy.getVolumeId()) == null) {
s_logger.warn("Found snapshot policy ID: " + policyId + " for volume ID: " + policy.getVolumeId() + " that does not exist or has been removed"); logger.warn("Found snapshot policy ID: " + policyId + " for volume ID: " + policy.getVolumeId() + " that does not exist or has been removed");
removeSchedule(policy.getVolumeId(), policy.getId()); removeSchedule(policy.getVolumeId(), policy.getId());
return null; return null;
} }