Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nigel Kukard
awit-backstep
Commits
4930ef8e
Commit
4930ef8e
authored
May 02, 2022
by
Nigel Kukard
Browse files
borg: Fixed result code output messages
parent
1b52e94a
Pipeline
#7163
passed with stage
in 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
awit_backstep/methods/borg.py
View file @
4930ef8e
...
...
@@ -281,7 +281,7 @@ class BorgBackup: # noqa: R0902 pylint: disable=too-many-instance-attributes
else
:
if
result_code
==
0
:
self
.
notifiers
.
info
(
f
"Borg completed: status=
{
result_code
}
(NORMAL)"
)
if
result_code
==
1
:
el
if
result_code
==
1
:
self
.
notifiers
.
info
(
f
"Borg completed: status=
{
result_code
}
(WARNING)"
)
# Silently ignore
result_code
=
0
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment