Skip to content

Commit 6c53a4a

Browse files
owenrumneyknqyf263
andcommitted
Update notice.go
Co-authored-by: Teppei Fukuda <knqyf263@gmail.com>
1 parent 3fd686b commit 6c53a4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/notification/notice.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ func (v *VersionChecker) RunUpdateCheck(ctx context.Context, args []string) {
8080

8181
req, err := http.NewRequestWithContext(ctx, http.MethodGet, v.updatesApi, http.NoBody)
8282
if err != nil {
83-
logger.Warn(fmt.Sprintf("Failed to create a request for Trivy api: %v", err))
83+
logger.Warn("Failed to create a request for Trivy api" log.Err(err))
8484
return
8585
}
8686

0 commit comments

Comments
 (0)