lib/sysdig/get_alert_notification.rb in sysdig-0.3.0 vs lib/sysdig/get_alert_notification.rb in sysdig-0.3.1
- old
+ new
@@ -6,10 +6,10 @@
end
def mock(notification_id)
service.response(
:body => {
- "notification" => service.data[:alert_notifications].fetch(notification_id)
+ "notification" => service.data[:alert_notifications].fetch(notification_id.to_i)
},
)
end
end