Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HOTFIX | Fixed pubMsg when WillTopic is null #193

Merged
merged 2 commits into from
Dec 12, 2023
Merged

Conversation

spit4520
Copy link
Contributor

Runtime issue wasn't previously handled when the WillTopic was null, Go's compiler wouldn't care but it would throw a runtime error if there was no Last Will set. We should consider adding in a unit test system to properly catch this next time.

@chowyu12 can you please upstream this and tag a new release like v1.5.2 with the hot fix?

Previously the broker would run and compile, but would throw a runtime panic if the will was null because of GoLang's inline struct operator. Should REALLY consider adding a unit test
@chowyu12 chowyu12 merged commit 35944d7 into fhmq:master Dec 12, 2023
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants