Skip to content

Commit a23195c

Browse files
committed
Appeasing RuboCop
1 parent e4348ff commit a23195c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/kafka/offset_manager.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def mark_as_processed(topic, partition, offset)
5858

5959
last_processed_offset = @processed_offsets[topic][partition] || -1
6060
if last_processed_offset > offset + 1
61-
@logger.debug "Not overwriting newer offset #{topic}/#{partition}:#{last_processed_offset-1} with older #{offset}"
61+
@logger.debug "Not overwriting newer offset #{topic}/#{partition}:#{last_processed_offset - 1} with older #{offset}"
6262
return
6363
end
6464

0 commit comments

Comments
 (0)