Skip to content

Commit

Permalink
Fix currentServiceAccount debug message (#2765)
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Greene <greene.al1991@gmail.com>
  • Loading branch information
awgreene authored May 1, 2022
1 parent dc7b00b commit 943a726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/registry/reconciler/grpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func (c *GrpcRegistryReconciler) currentServiceAccount(source grpcCatalogSourceD
serviceAccountName := source.ServiceAccount().GetName()
serviceAccount, err := c.Lister.CoreV1().ServiceAccountLister().ServiceAccounts(source.GetNamespace()).Get(serviceAccountName)
if err != nil {
logrus.WithField("service", serviceAccount).Debug("couldn't find service in cache")
logrus.WithField("serviceAccount", serviceAccount).Debug("couldn't find serviceAccount in cache")
return nil
}
return serviceAccount
Expand Down

0 comments on commit 943a726

Please sign in to comment.