Skip to content

Commit 74930af

Browse files
author
Paul Breaux
committed
Clustering trust_domain is broken due to api changes in
tm.sys.application Issues: Fixes #521 Problem: The clustering module trust_domain.py is broken because the api changed for tm.sys.applications to tm.sys.application. I will fix the issue and submit the fix, and we'll have to spin another release to remedy this. Analysis: Modified the references to applications in trust_domain.py and reran the clustering tests. Tests: Clustering tests passed locally.
1 parent 81e35af commit 74930af

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

f5/multi_device/trust_domain.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def _delete_iapp(self, iapp_name, deploying_device):
212212
iapp will be deleted
213213
'''
214214

215-
iapp = deploying_device.tm.sys.applications
215+
iapp = deploying_device.tm.sys.application
216216
iapp_serv = iapp.services.service.load(
217217
name=iapp_name, partition=self.partition
218218
)
@@ -231,10 +231,10 @@ def _deploy_iapp(self, iapp_name, actions, deploying_device):
231231
iapp will be created
232232
'''
233233

234-
tmpl = deploying_device.tm.sys.applications.templates.template
235-
serv = deploying_device.tm.sys.applications.services.service
234+
tmpl = deploying_device.tm.sys.application.templates.template
235+
serv = deploying_device.tm.sys.application.services.service
236236
tmpl.create(name=iapp_name, partition=self.partition, actions=actions)
237-
pollster(deploying_device.tm.sys.applications.templates.template.load)(
237+
pollster(deploying_device.tm.sys.application.templates.template.load)(
238238
name=iapp_name, partition=self.partition
239239
)
240240
serv.create(

0 commit comments

Comments
 (0)