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
The intention of the code is to convert the UUID to a hex string without the dashes, but the eventID is of form and length 72 633930656462302d376131632d346236372d393236642d353930393166663764626431 because it is converting the string representation of the UUID including the dashes.
The impact of this bug is that it makes it impossible for an EventSensor to add the ID as a workflow label because k8s limits the value to length of 63, see link
Describe the bug
argo-events/eventsources/eventing.go
Line 550 in dc0cb64
The intention of the code is to convert the UUID to a hex string without the dashes, but the eventID is of form and length 72
633930656462302d376131632d346236372d393236642d353930393166663764626431
because it is converting the string representation of the UUID including the dashes.The impact of this bug is that it makes it impossible for an EventSensor to add the ID as a workflow label because k8s limits the value to length of 63, see link
The fix would be to use
[:]
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The expected format of
cd2a34891fe847ab871f937679ebf950
which is of length 32.Environment (please complete the following information):
Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.
The text was updated successfully, but these errors were encountered: