mirror of
https://github.com/netinvent/npbackup.git
synced 2025-11-09 21:51:41 +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
|
@apply_config_to_restic_runner
|
||||||
def init(self) -> bool:
|
def init(self) -> bool:
|
||||||
self.write_logs(
|
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()
|
return self.restic_runner.init()
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1193,7 +1193,7 @@ class ResticRunner:
|
||||||
cmd = "check{}".format(" --read-data" if read_data else "")
|
cmd = "check{}".format(" --read-data" if read_data else "")
|
||||||
result, output = self.executor(cmd)
|
result, output = self.executor(cmd)
|
||||||
if result:
|
if result:
|
||||||
msg = "Repo checked successfully."
|
msg = "Repo checked successfully"
|
||||||
else:
|
else:
|
||||||
msg = "Repo check failed"
|
msg = "Repo check failed"
|
||||||
return self.convert_to_json_output(result, output, msg=msg, **kwargs)
|
return self.convert_to_json_output(result, output, msg=msg, **kwargs)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue