Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
BareosFdPluginPercona.py: fix typos
  • Loading branch information
pstorz authored and franku committed Jan 13, 2020
1 parent d1eb982 commit 6ac1e37
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/src/plugins/filed/BareosFdPluginPercona.py
Expand Up @@ -158,7 +158,7 @@ def create_file(self, context, restorepkt):
% (FNAME, origJobId),
)

# Create restore directory, if not existant
# Create restore directory, if not existent
if not os.path.exists(self.writeDir):
bareosfd.DebugMessage(
context,
Expand All @@ -171,7 +171,7 @@ def create_file(self, context, restorepkt):
JobMessage(
context,
bJobMessageType["M_FATAL"],
"Restore with xbstream needs empty directoy: %s\n" % self.writeDir,
"Restore with xbstream needs empty directory: %s\n" % self.writeDir,
)
return bRCs["bRC_Error"]
self.restorecommand += self.writeDir
Expand Down Expand Up @@ -227,7 +227,7 @@ def start_backup_job(self, context):
JobMessage(
context,
bJobMessageType["M_FATAL"],
"Could not fetch SHOW ENGINE INNODB STATUS, unpriveleged user?",
"Could not fetch SHOW ENGINE INNODB STATUS, unprivileged user?",
)
return bRCs["bRC_Error"]
info = result[0][2]
Expand Down Expand Up @@ -494,7 +494,7 @@ def end_backup_file(self, context):

def end_restore_file(self, context):
"""
Check, if writing to restore command was succesfull.
Check if writing to restore command was successful.
"""
returnCode = self.subprocess_returnCode
if returnCode is None:
Expand Down

0 comments on commit 6ac1e37

Please sign in to comment.