mirror of
https://github.com/netinvent/npbackup.git
synced 2025-11-10 22:23:09 +08:00
Fix missing argument in restic_output_2_metrics call
This commit is contained in:
parent
544c8c5dbc
commit
a71fe1e6e5
1 changed files with 1 additions and 1 deletions
|
|
@ -324,7 +324,7 @@ if __name__ == "__main__":
|
||||||
destination_file = os.path.join(destination_dir, output_filename)
|
destination_file = os.path.join(destination_dir, output_filename)
|
||||||
try:
|
try:
|
||||||
with open(log_file, "r") as file_handle:
|
with open(log_file, "r") as file_handle:
|
||||||
errors, metrics = restic_output_2_metrics(
|
errors, metrics = restic_output_2_metrics(True,
|
||||||
output=file_handle.readlines(), labels=labels
|
output=file_handle.readlines(), labels=labels
|
||||||
)
|
)
|
||||||
if errors:
|
if errors:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue