mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
cleaned up a few naming inconsistencies.
This commit is contained in:
parent
6952e57b4c
commit
248707069c
@ -228,7 +228,7 @@ def create_identity_pool(IdentityPoolName,
|
||||
response = conn.create_identity_pool(**request_params)
|
||||
response.pop('ResponseMetadata', None)
|
||||
|
||||
return {'created': True, 'identity-pool': response}
|
||||
return {'created': True, 'identity_pool': response}
|
||||
except ClientError as e:
|
||||
return {'created': False, 'error': salt.utils.boto3.get_error(e)}
|
||||
|
||||
@ -357,7 +357,7 @@ def set_identity_pool_roles(IdentityPoolId, AuthenticatedRole=None, Unauthentica
|
||||
|
||||
conn.set_identity_pool_roles(IdentityPoolId=IdentityPoolId, Roles=Roles)
|
||||
|
||||
return {'set': True}
|
||||
return {'set': True, 'roles': Roles}
|
||||
except ClientError as e:
|
||||
return {'set': False, 'error': salt.utils.boto3.get_error(e)}
|
||||
|
||||
|
@ -150,7 +150,7 @@ class BotoCognitoIdentityTestCaseMixin(object):
|
||||
' or equal to version {0}'
|
||||
.format(required_boto3_version))
|
||||
@skipIf(NO_MOCK, NO_MOCK_REASON)
|
||||
class BotoCognitoIdentityFunctionTestCase(BotoCognitoIdentityTestCaseBase, BotoCognitoIdentityTestCaseMixin):
|
||||
class BotoCognitoIdentityTestCase(BotoCognitoIdentityTestCaseBase, BotoCognitoIdentityTestCaseMixin):
|
||||
'''
|
||||
TestCase for salt.modules.boto_cognitoidentity module
|
||||
'''
|
||||
|
Loading…
Reference in New Issue
Block a user