CLI: Spelling fixes

This commit is contained in:
deajan 2024-12-09 15:25:45 +01:00
parent 5db9828c4b
commit 152e7738c8
2 changed files with 2 additions and 2 deletions

View file

@ -951,7 +951,7 @@ class NPBackupRunner:
@apply_config_to_restic_runner
def init(self) -> bool:
self.write_logs(
f"Initializing repo {self.repo_config.g('name')}", level="info"
f"Initializing repo {self.repo_config.g('name')}", level="info"
)
return self.restic_runner.init()

View file

@ -1193,7 +1193,7 @@ class ResticRunner:
cmd = "check{}".format(" --read-data" if read_data else "")
result, output = self.executor(cmd)
if result:
msg = "Repo checked successfully."
msg = "Repo checked successfully"
else:
msg = "Repo check failed"
return self.convert_to_json_output(result, output, msg=msg, **kwargs)