Fix repeated error messages after pkg/errors removal
This commit is contained in:
parent
7735b5c694
commit
ba6730720d
2 changed files with 2 additions and 2 deletions
2
backend/cache/cache.go
vendored
2
backend/cache/cache.go
vendored
|
@ -489,7 +489,7 @@ func NewFs(ctx context.Context, name, rootPath string, m configmap.Mapper) (fs.F
|
|||
f.opt.TempWritePath = filepath.ToSlash(f.opt.TempWritePath)
|
||||
f.tempFs, err = cache.Get(ctx, f.opt.TempWritePath)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("failed to create temp fs: %v: %w", err, err)
|
||||
return nil, fmt.Errorf("failed to create temp fs: %w", err)
|
||||
}
|
||||
fs.Infof(name, "Upload Temp Rest Time: %v", f.opt.TempWaitTime)
|
||||
fs.Infof(name, "Upload Temp FS: %v", f.opt.TempWritePath)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue