X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/b9f0177e6a477a518fd5a89156fafde57f2dddf8..ca812f58e63bd4673bb62aa8528e07d6020bfc9a:/services/ws/router.go diff --git a/services/ws/router.go b/services/ws/router.go index 04207455e6..15b825f2ab 100644 --- a/services/ws/router.go +++ b/services/ws/router.go @@ -9,6 +9,7 @@ import ( "sync/atomic" "time" + "git.curoverse.com/arvados.git/sdk/go/ctxlog" "github.com/Sirupsen/logrus" "golang.org/x/net/websocket" ) @@ -115,7 +116,7 @@ func (rtr *router) ServeHTTP(resp http.ResponseWriter, req *http.Request) { logger := logger(req.Context()). WithField("RequestID", rtr.newReqID()) - ctx := contextWithLogger(req.Context(), logger) + ctx := ctxlog.Context(req.Context(), logger) req = req.WithContext(ctx) logger.WithFields(logrus.Fields{ "remoteAddr": req.RemoteAddr,