Commit 4d564274 authored by Łukasz Nowak's avatar Łukasz Nowak

slapos_cloud: Fix SupportRequest_recheckMonitoring

Wrong object used resulted with non working SupportRequest_recheckMonitoring
on Compute Node.
parent d7be8bbd
Pipeline #19946 failed with stage
in 0 seconds
......@@ -21,7 +21,7 @@ if aggregate_portal_type == "Compute Node":
if document.getMonitorScope() == "disabled":
return "Monitor is disabled to the related %s." % document.getPortalType()
d = context.getAccessStatus()
d = document.getAccessStatus()
if d.get("no_data", None) == 1:
return "No Contact Information"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment