Failed creation of default mqtt client #582
Labels
bug
This issue is a bug.
p2
This is a standard priority issue
pending-release
This issue will be fixed by an approved PR that hasn't been released yet.
Describe the bug
new_default_builder function in mqtt_client_builder.py (awsiot) doesn't pass kwargs argument as expected.
It calles _builder function with kwargs as a single argument and not as a dictionary (**kwargs), which fails the creation of a mqtt client.
This seems to be the exact same problem that was reported for mqtt_connection_builder in #340 and solved in #341
Expected Behavior
Pass kwargs as a dictionary (**kwargs)
Current Behavior
Pass kwargs as a single argument
Reproduction Steps
Possible Solution
Fix new_default_builder function' calls (pass **kwargs instead of kwargs=kwargs)
Additional Information/Context
No response
SDK version used
v2
Environment details (OS name and version, etc.)
Windows 10
The text was updated successfully, but these errors were encountered: