Commit a944e6ab authored by Titouan Soulard's avatar Titouan Soulard Committed by Romain Courteaud

slapos_cloud: use _addCertificateLogin (track upstream changes)

parent 7a81b619
...@@ -115,9 +115,7 @@ class SlapOSComputeNodeMixin(object): ...@@ -115,9 +115,7 @@ class SlapOSComputeNodeMixin(object):
dict ( dict (
time=time.time(), time=time.time(),
refresh_etag=refresh_etag, refresh_etag=refresh_etag,
data=computer_dict, data=computer_dict
# Store the XML while SlapTool Still used
data_xml=self.getPortalObject().portal_slap._getSlapComputeNodeXMLFromDict(computer_dict)
), ),
cache_duration=self.getPortalObject().portal_caches\ cache_duration=self.getPortalObject().portal_caches\
.getRamCacheRoot().get('compute_node_information_cache_factory'\ .getRamCacheRoot().get('compute_node_information_cache_factory'\
......
...@@ -96,7 +96,7 @@ class TestSlapOSJIOAPIMixin(SlapOSTestCaseMixin): ...@@ -96,7 +96,7 @@ class TestSlapOSJIOAPIMixin(SlapOSTestCaseMixin):
self.compute_node.validate() self.compute_node.validate()
# Make compute node access # Make compute node access
self._addERP5Login(self.compute_node) self._addCertificateLogin(self.compute_node)
self.tic() self.tic()
......
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