There was an error while loading. Please reload this page.
1 parent 07d8102 commit b030ffaCopy full SHA for b030ffa
1 file changed
lib/stackify/metrics/metrics_client.rb
@@ -157,9 +157,9 @@ def handle_zero_reports current_time
157
agg.occurred_utc = current_time
158
case aggregate.metric_type
159
when Stackify::Metrics::METRIC_TYPES[:metric_last]
160
- setting.autoreport_last_value_if_nothing_reported = false #do not allow this
+ settings.autoreport_last_value_if_nothing_reported = false #do not allow this
161
when Stackify::Metrics::METRIC_TYPES[:counter]
162
163
end
164
if settings.autoreport_zero_if_nothing_reported
165
agg.count = 1
0 commit comments