Skip to content

Commit f77f035

Browse files
committed
update error message
Signed-off-by: Peter Jiang <[email protected]>
1 parent 160d17c commit f77f035

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/application/application.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1771,7 +1771,7 @@ func (s *Server) ManagedResources(ctx context.Context, q *application.ResourcesQ
17711771
return s.cache.GetAppManagedResources(a.InstanceName(s.ns), &items)
17721772
})
17731773
if err != nil {
1774-
log.Warnf("Cache unavailable for %s/%s: %v. Returning empty managed resources.", a.Namespace, a.Name, err)
1774+
log.Warnf("error getting cached app managed resources, Cache unavailable for %s/%s: %v. Returning empty managed resources.", a.Namespace, a.Name, err)
17751775
return &application.ManagedResourcesResponse{Items: []*v1alpha1.ResourceDiff{}}, nil
17761776
}
17771777
res := &application.ManagedResourcesResponse{}

0 commit comments

Comments
 (0)