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:
haali1 2016-08-03 13:23:57 -07:00
parent 220f5f521d
commit dc048d3d07
1 changed files with 1 additions and 1 deletions

View File

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