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
{{ message }}
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.
It's using a package scoped (global) map, so if you have multiple parts of your code, e.g. go routines operating on completely different CF templates, you hit this issue 🤦
What
ParseYAMLWithOptions
callsintrinsics.ProcessYAML
, which callsregisterTagMarshallers()
, butregisterTagMarshallers()
is not thread-safe.registerTagMarshallers()
callsyaml.RegisterTagUnmarshaler
which writes to a map without ensuring non-parallel writes (e.g. using locking).The text was updated successfully, but these errors were encountered: