mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #40111 from eldadru/fix-issue-40081-boto-rds-create-overwritten-key-parameter
Fixing simple issue 40081 - the key parameter of the method create ov…
This commit is contained in:
commit
5303386d93
1 changed files with 3 additions and 3 deletions
|
@ -276,10 +276,10 @@ def create(name, allocated_storage, db_instance_class, engine,
|
|||
kwargs = {}
|
||||
boto_params = set(boto3_param_map.keys())
|
||||
keys = set(locals().keys())
|
||||
for key in keys.intersection(boto_params):
|
||||
val = locals()[key]
|
||||
for param_key in keys.intersection(boto_params):
|
||||
val = locals()[param_key]
|
||||
if val is not None:
|
||||
mapped = boto3_param_map[key]
|
||||
mapped = boto3_param_map[param_key]
|
||||
kwargs[mapped[0]] = mapped[1](val)
|
||||
|
||||
taglist = _tag_doc(tags)
|
||||
|
|
Loading…
Add table
Reference in a new issue