Skip to content

Commit

Permalink
Fixed none check (#458)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBurchLog authored Mar 6, 2024
1 parent fcaf9a1 commit 42408eb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Brewtils Changelog
==================

3.24.3
------
3/6/24

- Fixed bug where Self Referencing SystemClients did not support `false` as default value when not provided

3.24.2
------
3/1/24
Expand Down
2 changes: 1 addition & 1 deletion brewtils/request_handling.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def process_command(self, request):
command = _parse_method(getattr(brewtils.plugin.CLIENT, request.command, None))
if command:
for parameter in command.parameters:
if parameter.default:
if parameter.default is not None:
if parameter.key not in request.parameters:
request.parameters[parameter.key] = parameter.default

Expand Down

0 comments on commit 42408eb

Please sign in to comment.