common
common copied to clipboard
Fix bug for TLSVersion.MarshalYAML
Signed-off-by: Yen-Cheng Chou [email protected]
@roidelapluie PTAL.
While there's a bug, I'm not sure that the fix is correct. I believe that
MarshalJSON()
needs to be changed to a value receiver function to work properly. I've experiment a bit with the Go playground: https://go.dev/play/p/P9nFVvIu-Mb
I agree