Skip to content

Commit f4ea259

Browse files
authored
Fix cache check (#1202)
Signed-off-by: Mikalai Radchuk <[email protected]>
1 parent ffd0fe5 commit f4ea259

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/catalogmetadata/cache/cache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ func (fsc *filesystemCache) FetchCatalogContents(ctx context.Context, catalog *c
119119
// this to be the same value, skip the write logic and return
120120
// the cached contents
121121
if data, ok := fsc.cacheDataByCatalogName[catalog.Name]; ok {
122-
if data.ResolvedRef == catalog.Status.ResolvedSource.Image.Ref {
122+
if data.ResolvedRef == catalog.Status.ResolvedSource.Image.ResolvedRef {
123123
return os.DirFS(cacheDir), nil
124124
}
125125
}

0 commit comments

Comments
 (0)