diff --git a/components/registry-facade/pkg/registry/resolver.go b/components/registry-facade/pkg/registry/resolver.go index 84f0b257d775b1..b61563ea0e8c7c 100644 --- a/components/registry-facade/pkg/registry/resolver.go +++ b/components/registry-facade/pkg/registry/resolver.go @@ -7,7 +7,6 @@ package registry import ( "context" "encoding/json" - "time" "github.com/containerd/containerd/remotes" redis "github.com/go-redis/redis/v8" @@ -57,7 +56,7 @@ func (rcr *RedisCachedResolver) Resolve(ctx context.Context, ref string) (name s } if raw, err := json.Marshal(resolverResult{Name: name, Desc: desc}); err == nil { - rcr.Client.Set(ctx, "resolve."+ref, string(raw), 2*time.Hour) + rcr.Client.Set(ctx, "resolve."+ref, string(raw), 0) } return