Skip to content

Commit 84a1a04

Browse files
committed
fix comment
1 parent 6f9d8da commit 84a1a04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/context/access_log.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ var signedUserNameStringPointerKey interface{} = "signedUserNameStringPointerKey
3030
const keyOfRequestIDInTemplate = ".RequestID"
3131

3232
// According to:
33-
// TraceId: A valid trace identifier is a 16-byte array with at least one non-zero byte. So it's 128bit, while it's hex string is 32bytes (256-bit is not true for OpenTracing/OpenTelemetry)
33+
// TraceId: A valid trace identifier is a 16-byte array with at least one non-zero byte
3434
// MD5 output is 16 or 32 bytes: md5-bytes is 16, md5-hex is 32
3535
// SHA1: similar, SHA1-bytes is 20, SHA1-hex is 40.
3636
// UUID is 128-bit, 32 hex chars, 36 ASCII chars with 4 dashes

0 commit comments

Comments
 (0)