mirror of
https://github.com/go-micro/go-micro.git
synced 2025-11-23 21:44:41 +02:00
This commit is contained in:
@@ -92,7 +92,7 @@ func FromContext(ctx context.Context) (Metadata, bool) {
|
||||
// capitalise all values
|
||||
newMD := make(Metadata, len(md))
|
||||
for k, v := range md {
|
||||
newMD[strings.Title(k)] = v
|
||||
newMD[k] = v
|
||||
}
|
||||
|
||||
return newMD, ok
|
||||
|
||||
Reference in New Issue
Block a user