Avoid compilation error in monasca-common AlarmNotificationMethodType change
We are changing AlarmNotifcationMethodType from Enum to String in monasca-common. This causes compilation error in Monasca-Api. This review avoids that comilation error. This review needs to be merged before monasca-common Change-Id: I4717e60ba7bb1035684f49154cb566a972f65deb
This commit is contained in:
parent
220f5f521d
commit
dc048d3d07
|
@ -271,7 +271,7 @@ public class NotificationMethodSqlRepoImpl
|
|||
return db == null ? null : new NotificationMethod(
|
||||
db.getId(),
|
||||
db.getName(),
|
||||
db.getType().name(),
|
||||
db.getType().toString(),
|
||||
db.getAddress(),
|
||||
db.getPeriod()
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue