Skip to content

[Bug]: direct_replier.py sample is broken #43

Closed
@TrentDaniel

Description

@TrentDaniel

Bug Description

  • Line 27 has a an improper comparison to None with request.get_payload_as_string() != None
  • Line 41 references a variable outbound_msg_builder when no variable under that name has been instantiated

Expected Behavior

  • Line 27, the comparison should be written as request.get_payload_as_string() is not None
  • Line 41, instead of referencing outbound_msg_builder, self.message_builder should be referenced

Steps to Reproduce

Reproduction not required, just look at source.

Solace Product

Solace APIs

Solace Broker version

sample issue, not relevant

Solace API

sample issue, not relevant

Solace API version

sample issue, not relevant

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions