mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-04 04:54:15 -04:00
logging: unify debug log message format (#2997)
This commit is contained in:
parent
24c346c657
commit
840f460bac
48 changed files with 183 additions and 169 deletions
|
@ -78,7 +78,7 @@ func (a *Uploader) Upload(ctx context.Context, imageInfo versionsapi.ImageInfo)
|
|||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
a.log.Debug(fmt.Sprintf("Archiving image info to s3://%v/%v", a.bucket, key))
|
||||
a.log.Debug(fmt.Sprintf("Archiving image info to s3://%s/%s", a.bucket, key))
|
||||
buf := &bytes.Buffer{}
|
||||
if err := json.NewEncoder(buf).Encode(imageInfo); err != nil {
|
||||
return "", err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue