Support for NOMA + some minor code refactoring
[ric-plt/alarm-go.git] / manager / cmd / types.go
index 7af8ec6..7a0fd90 100755 (executable)
@@ -31,8 +31,8 @@ type AlarmManager struct {
        amBaseUrl              string
        amSchemes              []string
        alertInterval          int
-       activeAlarms           []AlarmInformation
-       alarmHistory           []AlarmInformation
+       activeAlarms           []AlarmNotification
+       alarmHistory           []AlarmNotification
        uniqueAlarmId          int
        mutex                  sync.Mutex
        rmrReady               bool
@@ -44,7 +44,7 @@ type AlarmManager struct {
        exceededAlarmHistoryOn bool
 }
 
-type AlarmInformation struct {
+type AlarmNotification struct {
        alarm.AlarmMessage
        alarm.AlarmDefinition
 }