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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
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
Hide 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
if
hosting_subscription
is
None
:
return
instance
=
hosting_subscription
.
getPredecessorValue
()
if
instance
is
None
or
instance
.
getSlapState
()
==
'destroy_requested'
:
instance
=
None
for
possible_instance
in
hosting_subscription
.
getPredecessorValueList
():
if
possible_instance
.
getSlapState
()
!=
'destroy_requested'
:
instance
=
possible_instance
break
if
instance
is
None
:
return
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