Skip to content

Commit

Permalink
bareos-fd-postgres: fixed renamed methods
Browse files Browse the repository at this point in the history
  • Loading branch information
lluuaapp committed Dec 2, 2022
1 parent 6a9f76d commit 4bcedcc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ def end_backup_file(self):
return bareosfd.bRC_More
else:
if self.PostgressFullBackupRunning:
self.completed_backup_job_and_close_db()
self.complete_backup_job_and_close_db()
# Now we can also create the Restore object with the right timestamp
self.files_to_backup.append("ROP")
return self.checkForWalFiles()
Expand All @@ -546,7 +546,7 @@ def end_backup_job(self):
especially when job was cancelled
"""
if self.PostgressFullBackupRunning:
self.completed_backup_job_and_close_db()
self.complete_backup_job_and_close_db()
self.PostgressFullBackupRunning = False
else:
self.close_db_connection()
Expand Down

0 comments on commit 4bcedcc

Please sign in to comment.