diff --git a/pkg/corredor/service.go b/pkg/corredor/service.go index 8cf9edf81..4403a7e71 100644 --- a/pkg/corredor/service.go +++ b/pkg/corredor/service.go @@ -3,6 +3,7 @@ package corredor import ( "context" + "github.com/go-chi/chi/middleware" "github.com/pkg/errors" "go.uber.org/zap" "google.golang.org/grpc" @@ -402,6 +403,12 @@ func (svc service) exec(ctx context.Context, script string, runAs string, event // //// //// //// //// //// //// //// //// //// //// //// //// //// //// //// //// //// //// //// //// //// //// + ctx = metadata.NewOutgoingContext(ctx, metadata.MD{ + "x-request-id": []string{middleware.GetReqID(ctx)}, + }) + + // //// //// //// //// //// //// //// //// //// //// //// //// //// //// //// //// //// //// //// //// //// //// + var header, trailer metadata.MD rsp, err = svc.ssClient.Exec( ctx,