lib/aws-sdk-cloudwatch/metric.rb in aws-sdk-cloudwatch-1.37.0 vs lib/aws-sdk-cloudwatch/metric.rb in aws-sdk-cloudwatch-1.38.0
- old
+ new
@@ -584,10 +584,10 @@
def put_alarm(options = {})
options = options.merge(
namespace: @namespace,
metric_name: @name
)
- resp = @client.put_metric_alarm(options)
+ @client.put_metric_alarm(options)
Alarm.new(
name: options[:alarm_name],
client: @client
)
end