Skip to content

Commit

Permalink
convert created to int, compression to symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
hamann committed Oct 21, 2013
1 parent abddb56 commit e19ff6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rbarman/cli_command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ def wal_files(server, backup_id)
wal = "#{w.timeline}#{w.xlog}#{w.segment}"
entry = xlog_db[wal]
w.size = entry[:size]
w.compression = entry[:compression]
w.created = entry[:created]
w.compression = entry[:compression].downcase.to_sym
w.created = entry[:created].to_i
end
return wal_files
end
Expand Down

0 comments on commit e19ff6b

Please sign in to comment.