s3 debug log

This commit is contained in:
withchao
2023-07-12 11:14:06 +08:00
parent d7802e15a8
commit d7c66c6f45
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ func (c *Controller) GetHashObject(ctx context.Context, hash string) (*s3.Object
}
func (c *Controller) InitiateUpload(ctx context.Context, hash string, size int64, expire time.Duration, maxParts int) (*InitiateUploadResult, error) {
log.ZDebug(ctx, "return")
defer log.ZDebug(ctx, "return")
if size < 0 {
return nil, errors.New("invalid size")
}