MSP-5160 update deps + go 1.24 + fix linters
This commit is contained in:
1 parent
4898a95fc4
commit
93482f05d3
7 files changed
+108
-89
No files matched your search
+1
-1
@@ -70,7 +70,7 @@ func (p Grpc) Handle(ctx *request.Context) error {
|
||||
|
||||
md := metadata.MD{
|
||||
grpc.ProxyMethodNameHeader: {ctx.Endpoint()},
|
||||
requestid.RequestIdHeader: {requestid.FromContext(ctx.Context())},
|
||||
requestid.Header: {requestid.FromContext(ctx.Context())},
|
||||
}
|
||||
if !p.skipAuth {
|
||||
authData, err := ctx.GetAuthData()
|
||||
|
||||
+1
-1
@@ -91,7 +91,7 @@ func (p Http) Handle(ctx *request.Context) error {
|
||||
}
|
||||
|
||||
func setHttpHeaders(ctx *request.Context, header http.Header, skipAuth bool) error {
|
||||
header.Set(requestid.RequestIdHeader, requestid.FromContext(ctx.Context()))
|
||||
header.Set(requestid.Header, requestid.FromContext(ctx.Context()))
|
||||
if !skipAuth {
|
||||
authData, err := ctx.GetAuthData()
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user