mirror of
https://github.com/goharbor/harbor
synced 2025-04-16 15:18:00 +00:00
Fix syntax errors in comments (#18746)
Signed-off-by: lishaokai1995 <lishaokai1995@126.com>
This commit is contained in:
parent
4652d752b6
commit
04833d2daf
2
src/lib/cache/helper.go
vendored
2
src/lib/cache/helper.go
vendored
|
@ -47,7 +47,7 @@ func FetchOrSave(ctx context.Context, c Cache, key string, value interface{}, bu
|
|||
|
||||
defer fetchOrSaveMu.Unlock(lockKey)
|
||||
|
||||
// fetch again to avoid to build the value multi-times
|
||||
// fetch again to avoid building the value multi-times
|
||||
err = c.Fetch(ctx, key, value)
|
||||
if err == nil {
|
||||
return nil
|
||||
|
|
Loading…
Reference in New Issue
Block a user