Skip to content

Commit 01f5c2d

Browse files
committed
Fixes Issue #1323 - Also removes partition kwarg to prevent errors
1 parent 79af1e6 commit 01f5c2d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

f5/bigip/tm/gtm/topology.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,9 @@ def load(self, **kwargs):
147147
return self._load(**kwargs)
148148

149149
def exists(self, **kwargs):
150+
"""Providing a partition is not necessary on topology; causes errors"""
151+
if 'partition' in kwargs:
152+
kwargs.pop('partition')
150153
kwargs['transform_name'] = True
151154
return self._exists(**kwargs)
152155

0 commit comments

Comments
 (0)