Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
Thomas Leymonerie
slapos.core
Commits
c77362d4
Commit
c77362d4
authored
Oct 22, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support fixing.
When alarm is fixed do not set severity.
parent
7dfd07a1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
master/bt5/vifib_configurator/SkinTemplateItem/portal_skins/vifib_promise/Alarm_checkPromiseVifibPASBase.xml
...al_skins/vifib_promise/Alarm_checkPromiseVifibPASBase.xml
+6
-1
master/bt5/vifib_configurator/bt/revision
master/bt5/vifib_configurator/bt/revision
+1
-1
No files found.
master/bt5/vifib_configurator/SkinTemplateItem/portal_skins/vifib_promise/Alarm_checkPromiseVifibPASBase.xml
View file @
c77362d4
...
...
@@ -77,8 +77,13 @@ def mergePASDictDifference(portal, d, fixit):\n
\n
pas_difference = mergePASDictDifference(portal, promise_dict, fixit)\n
if len(pas_difference) != 0:\n
severity = 1\n
if fixit:\n
severity = 0\n
else:\n
severity = 1\n
summary = "PAS not configured as expected"\n
if fixit:\n
summary += \' (fixed)\'\n
detail = "Difference:\\n%s" % (\'\\n\'.join(pas_difference), )\n
else:\n
severity = 0\n
...
...
master/bt5/vifib_configurator/bt/revision
View file @
c77362d4
32
\ No newline at end of file
33
\ No newline at end of file
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