Skip to content

Commit e6f86e2

Browse files
author
Clark Perkins
committed
removed deprecated pieces from client
1 parent fb6269b commit e6f86e2

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

stackdio/client/stack.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -131,21 +131,6 @@ def list_access_rules(self, stack_id):
131131
"""
132132
pass
133133

134-
@deprecated
135-
def get_access_rule_id(self, stack_id, title):
136-
"""Find an access rule id"""
137-
138-
rules = self.list_access_rules(stack_id)
139-
140-
try:
141-
for group in rules:
142-
if group.get('blueprint_host_definition').get('title') == title:
143-
return group.get('id')
144-
except TypeError:
145-
pass
146-
147-
raise StackException('Access Rule %s not found' % title)
148-
149134
@get('security_groups/{group_id}/rules/', paginate=True)
150135
def list_rules_for_group(self, group_id):
151136
pass

0 commit comments

Comments
 (0)