lib/jets/job/helpers/log_event_helper.rb in jets-5.0.6 vs lib/jets/job/helpers/log_event_helper.rb in jets-5.0.7
- old
+ new
@@ -11,7 +11,11 @@
gz = Zlib::GzipReader.new(StringIO.new(compressed_string))
uncompressed_string = gz.read
data = JSON.load(uncompressed_string)
ActiveSupport::HashWithIndifferentAccess.new(data)
end
+
+ def log_event?
+ !!event.dig("awslogs", "data")
+ end
end
end