Skip to content
Snippets Groups Projects
Commit 402e18c6 authored by Valery Sizov's avatar Valery Sizov
Browse files

Apply suggestion. Better lsn file check

parent 1171279d
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -99,7 +99,9 @@ module Geo
 
return nil unless File.exist?(geo_pitr_file)
 
File.read(geo_pitr_file)
lsn = File.read(geo_pitr_file)
lsn.empty? ? nil : lsn
end
 
def built_recovery_setting_for_pitr(lsn)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment