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?
to your account
$ go version
go version go1.14.2 linux/amd64
$ go env
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build123794036=/tmp/go-build -gno-record-gcc-switches"
GOROOT/bin/go version: go version go1.14.2 linux/amd64
GOROOT/bin/go tool compile -V: compile version go1.14.2
uname -sr: Linux 5.6.7-1-MANJARO
LSB Version: n/a
Distributor ID: ManjaroLinux
Description: Manjaro Linux
/usr/lib/libc.so.6: GNU C Library (GNU libc) stable release version 2.31.
Here's a playground link describing the issue.
This issue seems to only occur when other.Name contains a special character (" or \ for example) after the size of the key.
When unmarshaled, the keys are correct.
The keys are incorrect under certain circumstances.
The text was updated successfully, but these errors were encountered:
When I ran the code provided in playground link locally unmarshaling works as expected and key values printed by program are perfect
Go version which I am using for reference
go version go1.13.7 darwin/amd64
Output of code:
Sorry, something went wrong.
Duplicate of #38105, where the fix is already in master and it's being backported for 1.14.3.
Provide more complete TrafficTarget and TrafficSplit on error
This commit also provides a workaround for golang/go#38771 on ServiceTrafficTargetKey. A test has been added to cover the changes made on the
No branches or pull requests