mirror of
https://github.com/netinvent/npbackup.git
synced 2025-11-09 13:44:51 +08:00
CLI: Spelling fixes
This commit is contained in:
parent
5db9828c4b
commit
152e7738c8
2 changed files with 2 additions and 2 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue