Skip to content

Commit

Permalink
signoff
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Tay <ryan_tay@intuit.com>
  • Loading branch information
Ryan Tay committed Sep 10, 2024
1 parent 03f0998 commit 49b4b41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions admiral/pkg/controller/admiral/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,7 @@ func shouldRetry(ctxLogger *logrus.Entry, ctx context.Context, obj interface{},
}
switch objFromCache.(type) {
case []*v1.Service:
// ServiceController returns a slice of services from Get() which needs extra processing before casting
servicesSlice, _ := objFromCache.([]*v1.Service)
latestObjMeta, latestOk = getMatchingServiceFromServiceSlice(objMeta, servicesSlice)
default:
Expand Down

0 comments on commit 49b4b41

Please sign in to comment.