mirror of
				https://github.com/Telecominfraproject/wlan-cloud-opensync-controller.git
				synced 2025-10-30 18:17:59 +00:00 
			
		
		
		
	fix bug for cannot find alarm to be deleted exception
This commit is contained in:
		| @@ -1148,7 +1148,7 @@ public class MqttStatsPublisher { | ||||
|  | ||||
|     void clearDeviceThresholdAlarm(int customerId, long equipmentId, AlarmCode alarmCode) { | ||||
|         alarmServiceInterface.get(customerId, Set.of(equipmentId), Set.of(alarmCode)).stream().forEach(a -> { | ||||
|             Alarm alarm = alarmServiceInterface.delete(customerId, equipmentId, a.getAlarmCode(), a.getLastModifiedTimestamp()); | ||||
|             Alarm alarm = alarmServiceInterface.delete(customerId, equipmentId, a.getAlarmCode(), a.getCreatedTimestamp()); | ||||
|             LOG.info("Cleared device threshold alarm {}", alarm); | ||||
|         }); | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Thomas-Leung2021
					Thomas-Leung2021