Commit 77093c8
Replace fmt.Errorf(\"%s\", detail) with errors.New in checkImageBuildResponse
fmt.Errorf with a plain %s verb (no wrapping) triggers go vet's
printf-style warning and adds unnecessary overhead. errors.New is the
correct call when there is no cause to wrap.
ai-assisted=yes
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 7c36e19 commit 77093c8
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
518 | 518 | | |
519 | 519 | | |
520 | 520 | | |
521 | | - | |
| 521 | + | |
522 | 522 | | |
523 | 523 | | |
524 | 524 | | |
| |||
0 commit comments