From 6343f7e8615f4dc8a6e8757bf088287866535f38 Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Tue, 5 May 2026 20:10:48 +0200 Subject: [PATCH] refactor(graph): drop MS Graph framing from colon-path middleware logs --- services/graph/pkg/middleware/path_lookup.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/services/graph/pkg/middleware/path_lookup.go b/services/graph/pkg/middleware/path_lookup.go index a13c099d3e..dab46fee9d 100644 --- a/services/graph/pkg/middleware/path_lookup.go +++ b/services/graph/pkg/middleware/path_lookup.go @@ -59,8 +59,8 @@ var ( errUnauthenticated = errors.New("unauthenticated") ) -// ResolveGraphPath returns middleware that detects MS Graph colon-syntax -// path lookup URLs and rewrites them to the canonical +// ResolveGraphPath returns middleware that detects colon-syntax path +// lookup URLs and rewrites them to the canonical // /{version}/drives/{driveID}/items/{resolvedItemID}{suffix} form before // chi performs route matching. The requested API version is preserved // (for example, "v1.0" or "v1beta1"). @@ -116,7 +116,7 @@ func ResolveGraphPath(gws pool.Selectable[gateway.GatewayAPIClient], logger log. l.Debug(). Str("original", original). Str("rewritten", rewritten). - Msg("rewrote MS Graph colon-syntax path") + Msg("colon-path resolution: rewrote") ctx := context.WithValue(r.Context(), OriginalPathContextKey, original) r = r.WithContext(ctx)