in internal/handler/cache.go [86:96]
func (c *CacheHandler) EnsureCacheInitialized(ctx context.Context) (reconciler.OperationResult, error) {
// initialize the AvailableCaches in status if it is nil
if c.cache.Status.AvailableCaches == nil {
c.cache.Status.AvailableCaches = []string{}
}
if c.cache.Status.CacheKey == "" {
c.cache.Status.CacheKey = c.cacheUtils.NewCacheKeyFromApplications(c.cache.Spec.OperationTemplate.Applications)
}
return reconciler.RequeueOnErrorOrContinue(c.updateStatus(ctx))
}