Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
whats-open
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
9
Issues
9
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SRCT
whats-open
Commits
7ac9c750
Commit
7ac9c750
authored
Jan 31, 2019
by
David Haynes
🙆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HOTFIX: Off by 1 error
- New alerts would fail prior to this
parent
be8d80f4
Pipeline
#3783
passed with stage
in 1 minute and 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
whats-open/api/models.py
whats-open/api/models.py
+1
-1
No files found.
whats-open/api/models.py
View file @
7ac9c750
...
...
@@ -443,4 +443,4 @@ class Alert(TimeStampedModel):
"""
String representation of an Alert object.
"""
return
"{0}
\n
{1}
\n
{
3
}"
.
format
(
self
.
subject
,
self
.
body
,
self
.
url
)
return
"{0}
\n
{1}
\n
{
2
}"
.
format
(
self
.
subject
,
self
.
body
,
self
.
url
)
Write
Preview
Markdown
is supported
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