mirror of
https://github.com/grafana/grafana.git
synced 2026-09-05 04:40:13 -05:00
remove the global log error/warn etc functions (#41404)
* remove the global log error/warn etc functions and use request context logger whenever possible
This commit is contained in:
@@ -74,7 +74,7 @@ func (u *S3Uploader) Upload(ctx context.Context, imageDiskPath string) (string,
|
||||
return "", err
|
||||
}
|
||||
key := u.path + rand + pngExt
|
||||
log.Debug("Uploading image to s3.", "bucket", u.bucket, "path", key)
|
||||
u.log.Debug("Uploading image to s3.", "bucket", u.bucket, "path", key)
|
||||
|
||||
// We can ignore the gosec G304 warning on this one because `imageDiskPath` comes
|
||||
// from alert notifiers and is only used to upload images generated by alerting.
|
||||
|
||||
Reference in New Issue
Block a user