Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
alarm-handler
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Francesco Tripaldi
alarm-handler
Commits
d6b66c75
Commit
d6b66c75
authored
7 years ago
by
Graziano Scalamera
Browse files
Options
Downloads
Patches
Plain Diff
formatted values in JSON
parent
d42f9ad5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/AlarmHandler.cpp
+91
-86
91 additions, 86 deletions
src/AlarmHandler.cpp
src/event_table.cpp
+1
-0
1 addition, 0 deletions
src/event_table.cpp
with
92 additions
and
86 deletions
src/AlarmHandler.cpp
+
91
−
86
View file @
d6b66c75
This diff is collapsed.
Click to expand it.
src/event_table.cpp
+
1
−
0
View file @
d6b66c75
...
@@ -843,6 +843,7 @@ void event_table::subscribe_events()
...
@@ -843,6 +843,7 @@ void event_table::subscribe_events()
INFO_STREAM
<<
"event_table::subscribe_events: error adding "
<<
sig
->
name
<<
" err="
<<
e
.
errors
[
0
].
desc
<<
endl
;
INFO_STREAM
<<
"event_table::subscribe_events: error adding "
<<
sig
->
name
<<
" err="
<<
e
.
errors
[
0
].
desc
<<
endl
;
v_event
[
i
].
ex_reason
=
e
.
errors
[
0
].
reason
;
v_event
[
i
].
ex_reason
=
e
.
errors
[
0
].
reason
;
v_event
[
i
].
ex_desc
=
e
.
errors
[
0
].
desc
;
v_event
[
i
].
ex_desc
=
e
.
errors
[
0
].
desc
;
// v_event[i].ex_desc.erase(std::remove(v_event[i].ex_desc.begin(), v_event[i].ex_desc.end(), '\n'), v_event[i].ex_desc.end());
v_event
[
i
].
ex_origin
=
e
.
errors
[
0
].
origin
;
v_event
[
i
].
ex_origin
=
e
.
errors
[
0
].
origin
;
v_event
[
i
].
siglock
->
writerOut
();
v_event
[
i
].
siglock
->
writerOut
();
continue
;
continue
;
...
...
This diff is collapsed.
Click to expand it.
Preview
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!
Save comment
Cancel
Please
register
or
sign in
to comment