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

fix: control messages not using uuid #126

Merged
merged 1 commit into from
May 31, 2023

Conversation

ahitacat
Copy link
Contributor

This commits fix the use of uuid in control messages by modifying Command message to just contains the Content structure of the Control message.

This commits also fix some logic on generateControlMessage.

@ahitacat ahitacat requested a review from subpop May 17, 2023 10:43
@ahitacat
Copy link
Contributor Author

I think something similar can be done for Event message type.

@ahitacat ahitacat force-pushed the fix-control-msg-uuid branch 2 times, most recently from ded1b12 to 9b282c0 Compare May 17, 2023 11:24
Copy link
Collaborator

@subpop subpop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks and works great. There's a couple small error strings that I think couple be made more explicit, but then we can merge this.

cmd/yggctl/generate.go Outdated Show resolved Hide resolved
@ahitacat ahitacat force-pushed the fix-control-msg-uuid branch from 9b282c0 to 6a1ba74 Compare May 22, 2023 11:03
@ahitacat ahitacat requested a review from subpop May 22, 2023 11:32
cmd/yggctl/generate.go Outdated Show resolved Hide resolved
@ahitacat ahitacat force-pushed the fix-control-msg-uuid branch from 6a1ba74 to fcc69b0 Compare May 23, 2023 12:46
This commits fix the use of uuid in control messages by modifying
Command message to just contains the Content structure of the Control
message.

This commits also fix some logic on generateControlMessage.

Signed-off-by: Alba Hita Catala <[email protected]>
@ahitacat ahitacat force-pushed the fix-control-msg-uuid branch from fcc69b0 to 46e5a17 Compare May 23, 2023 14:20
@ahitacat ahitacat requested a review from subpop May 24, 2023 09:20
@subpop subpop merged commit 5e5fff6 into RedHatInsights:main May 31, 2023
@ahitacat ahitacat deleted the fix-control-msg-uuid branch June 1, 2023 09:32
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