Fixed how parameters are passed in following clarification on GitHub comments.
This commit is contained in:
parent
3a357c0fe3
commit
70315fd67c
2 changed files with 3 additions and 5 deletions
|
|
@ -87,7 +87,8 @@ class IamResponse(BaseResponse):
|
|||
template = self.response_template(LIST_INSTANCE_PROFILES_TEMPLATE)
|
||||
return template.render(instance_profiles=profiles)
|
||||
|
||||
def list_instance_profiles_for_role(self, role_name=None):
|
||||
def list_instance_profiles_for_role(self):
|
||||
role_name = self._get_param('RoleName')
|
||||
profiles = iam_backend.get_instance_profiles_for_role(role_name=role_name)
|
||||
|
||||
template = self.response_template(LIST_INSTANCE_PROFILES_FOR_ROLE_TEMPLATE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue