mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Fix issue #41362 invalid parameter used: KeyName.1 instead of KeyName
This commit is contained in:
parent
29bd7f48b7
commit
6a82ddc6fc
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user