conn
This commit is contained in:
2
pkg/common/db/cache/rockscache.go
vendored
2
pkg/common/db/cache/rockscache.go
vendored
@@ -87,7 +87,7 @@ func getCache[T any](ctx context.Context, rcClient *rockscache.Client, key strin
|
||||
return t, nil
|
||||
}
|
||||
if v == "" {
|
||||
return t, errs.ErrRecordNotFound
|
||||
return t, errs.ErrRecordNotFound.Wrap("cache is not found")
|
||||
}
|
||||
err = json.Unmarshal([]byte(v), &t)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user