Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
noc
noc
Commits
8fd1b584
Commit
8fd1b584
authored
May 27, 2022
by
Andrey Vertiprahov
Browse files
Fix maintenance typo.
parent
28620cc8
Pipeline
#36423
passed with stages
in 17 minutes and 49 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
maintenance/models/maintenance.py
View file @
8fd1b584
...
...
@@ -147,10 +147,10 @@ class Maintenance(Document):
{
"direct_objects"
,
"direct_segments"
,
"stop"
,
"start"
,
"time_pattern"
}
):
self
.
update_affected_objects_maintenance
()
if
"stop"
in
self
.
_
changed_fields
:
if
"stop"
in
changed_fields
:
if
not
self
.
is_completed
and
self
.
auto_confirm
:
self
.
auto_confirm_maintenance
()
if
"is_completed"
in
self
.
_
changed_fields
:
if
"is_completed"
in
changed_fields
:
self
.
remove_maintenance
()
if
self
.
escalate_managed_object
:
...
...
Andrey Vertiprahov
@aversant
mentioned in commit
736e4d68
·
May 27, 2022
mentioned in commit
736e4d68
mentioned in commit 736e4d68de7483208702f428b15df448133b86ea
Toggle commit list
Andrey Vertiprahov
@aversant
mentioned in merge request
!6337 (merged)
·
May 27, 2022
mentioned in merge request
!6337 (merged)
mentioned in merge request !6337
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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