lib/logstash/plugin_mixins/jdbc/value_tracking.rb in logstash-integration-jdbc-5.0.0 vs lib/logstash/plugin_mixins/jdbc/value_tracking.rb in logstash-integration-jdbc-5.0.1
- old
+ new
@@ -60,10 +60,10 @@
end
class NumericValueTracker < ValueTracking
def set_initial
- common_set_initial(:gcd, 0)
+ common_set_initial(:abs, 0)
end
def set_value(value)
return unless value.is_a?(Numeric)
@value = value