Skip to content

Commit 81d2b27

Browse files
Crash--claude
andcommitted
style: use += operator for string concatenation (gocritic)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 4923575 commit 81d2b27

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

model/vfs/vfss3/impl.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func BucketName(orgID, bucketPrefix string) string {
7575
}
7676
name = strings.TrimRight(name, "-")
7777
if len(name) < 3 {
78-
name = name + strings.Repeat("0", 3-len(name))
78+
name += strings.Repeat("0", 3-len(name))
7979
}
8080
return name
8181
}

0 commit comments

Comments
 (0)