Skip to content

Commit 925dae7

Browse files
committed
lint 💄
1 parent 73c4593 commit 925dae7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

middleware.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ func AddCustomAttributes(c echo.Context, attr slog.Attr) {
325325
}
326326

327327
func extractTraceSpanID(ctx context.Context, withTraceID bool, withSpanID bool) []slog.Attr {
328-
if !(withTraceID || withSpanID) {
328+
if !withTraceID && !withSpanID {
329329
return []slog.Attr{}
330330
}
331331

0 commit comments

Comments
 (0)