Fix issue #41362 invalid parameter used: KeyName.1 instead of KeyName

This commit is contained in:
Automate Solutions 2017-05-21 15:47:25 +02:00
parent 29bd7f48b7
commit 6a82ddc6fc

View File

@ -4205,7 +4205,7 @@ def show_keypair(kwargs=None, call=None):
return False
params = {'Action': 'DescribeKeyPairs',
'KeyName.1': kwargs['keyname']}
'KeyName': kwargs['keyname']}
data = aws.query(params,
return_url=True,
@ -4234,7 +4234,7 @@ def delete_keypair(kwargs=None, call=None):
return False
params = {'Action': 'DeleteKeyPair',
'KeyName.1': kwargs['keyname']}
'KeyName': kwargs['keyname']}
data = aws.query(params,
return_url=True,