lib/logstash/outputs/charrington/process.rb in logstash-output-charrington-0.3.25 vs lib/logstash/outputs/charrington/process.rb in logstash-output-charrington-0.3.26
- old
+ new
@@ -69,9 +69,9 @@
retry_interval = doubled > retry_max_interval ? retry_max_interval : doubled
# rubocop:enable Lint/UselessAssignment
end
def clearable(obj)
- obj.is_a? Hash or obj.is_a? Array
+ obj.is_a?(Hash) || obj.is_a?(Array)
end
end
end