Skip to content

Commit

Permalink
Remove support for last_date field from DumpProgress
Browse files Browse the repository at this point in the history
This piece of backwards compatibility became obsolete since 706776a broke progress compatibility with 2.x.
  • Loading branch information
tvdstaaij committed Mar 5, 2017
1 parent 8439468 commit 56af297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dump_progress.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def initialize(newest_id = nil, newest_date = nil,
def self.from_hash(hash)
self.new(
hash['newest_id'],
hash['newest_date'] || hash['last_date'], # last_date is v2.0.x compat
hash['newest_date'],
hash['dumper_state'],
hash['counts']
)
Expand Down

0 comments on commit 56af297

Please sign in to comment.