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
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Rafael Monnerat
slapos.core
Commits
ca2d4324
Commit
ca2d4324
authored
Dec 31, 2020
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_crm: Minor update on a search from the instance
parent
bff27102
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
master/bt5/slapos_crm/SkinTemplateItem/portal_skins/slapos_crm_monitoring/SupportRequest_getInstanceMonitorUrl.py
...os_crm_monitoring/SupportRequest_getInstanceMonitorUrl.py
+6
-2
No files found.
master/bt5/slapos_crm/SkinTemplateItem/portal_skins/slapos_crm_monitoring/SupportRequest_getInstanceMonitorUrl.py
View file @
ca2d4324
...
@@ -4,8 +4,12 @@ hosting_subscription = support_request.getAggregateValue(portal_type="Hosting Su
...
@@ -4,8 +4,12 @@ hosting_subscription = support_request.getAggregateValue(portal_type="Hosting Su
if
hosting_subscription
is
None
:
if
hosting_subscription
is
None
:
return
return
instance
=
hosting_subscription
.
getPredecessorValue
()
instance
=
None
if
instance
is
None
or
instance
.
getSlapState
()
==
'destroy_requested'
:
for
possible_instance
in
hosting_subscription
.
getPredecessorValueList
():
if
possible_instance
.
getSlapState
()
!=
'destroy_requested'
:
instance
=
possible_instance
break
if
instance
is
None
:
return
return
parameter_dict
=
instance
.
getConnectionXmlAsDict
()
parameter_dict
=
instance
.
getConnectionXmlAsDict
()
...
...
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