Skip to content

Commit de8341c

Browse files
committed
fix(user-agent): limit commit hash to 8 hexadecimal digits
1 parent bbcff4d commit de8341c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infra/buildinfo/buildinfo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func UserAgentSuffix() (r string) {
7777
return
7878
}
7979
r += "Commit/"
80-
r += d.CommitHash[:7]
80+
r += d.CommitHash[:8]
8181
if d.Modified {
8282
r += "-modified"
8383
}

0 commit comments

Comments
 (0)