Skip to content

Commit

Permalink
Make context header consistent with other projects
Browse files Browse the repository at this point in the history
Go-carbon expects to see either X-CTX-CarbonAPI-UUID or
X-CTX-CarbonZipper-UUID, so let's give it one of those.
  • Loading branch information
Gunnar Þór Magnússon committed Oct 1, 2018
1 parent 001baae commit 8690244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
type key int

const (
ctxHeaderUUID = "X-CTX-Carbon-UUID"
ctxHeaderUUID = "X-CTX-CarbonAPI-UUID"

uuidKey key = 0
)
Expand Down

0 comments on commit 8690244

Please sign in to comment.