You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had searched in the issues and found no similar issues.
Environment
Mac
EventMesh version
master
What happened
In the BROADCAST strategy of AbstractHttpSinkHandler, the attributes map is updated within the loop instead of being assigned once before the loop. This causes a logic error that may prevent the callback operation from executing properly.
Expected behavior:
The attributes.put(MultiHttpRequestContext.NAME, new MultiHttpRequestContext(urls.size())) statement should be placed outside the loop to ensure that the attribute is set only once, rather than being overwritten in each iteration.
Search before asking
Environment
Mac
EventMesh version
master
What happened
In the
BROADCAST
strategy ofAbstractHttpSinkHandler
, the attributes map is updated within the loop instead of being assigned once before the loop. This causes a logic error that may prevent the callback operation from executing properly.Expected behavior:
The
attributes.put(MultiHttpRequestContext.NAME, new MultiHttpRequestContext(urls.size()))
statement should be placed outside the loop to ensure that the attribute is set only once, rather than being overwritten in each iteration.How to reproduce
None
Debug logs
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: