Commit 8c4e6f79 authored by Jonathan Mace's avatar Jonathan Mace

Bugfix in zipkin code

parent 5168e32d
......@@ -155,12 +155,14 @@ func (zipkinMetadata *ZipkinMetadata) Write(w *baggageprotocol.Writer) {
sort.Sort(baggageprotocol.LexicographicAtomSorter(tagKeys))
w.Enter(4)
for _,tagKey := range(tagKeys) {
tagValue := []byte(zipkinMetadata.Tags[string(tagKey)])
w.EnterKey(tagKey)
w.Write(tagValue)
w.Exit()
}
w.Exit()
}
// Overflow
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment