Skip to content

Commit

Permalink
Add error log in role_controller
Browse files Browse the repository at this point in the history
  • Loading branch information
dodokek committed Oct 21, 2024
1 parent 30ea85c commit a0bb510
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/role_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ func (r *RoleReconciler) SetupWithManager(mgr ctrl.Manager) error {
roleList := &tarantooliov1alpha1.RoleList{}
if err := r.Client.List(context.TODO(), roleList, &client.ListOptions{}); err != nil {
mgr.GetLogger().Info("error while getting list of roles")
mgr.GetLogger().Info(err.Error())
}

res := []reconcile.Request{}
Expand Down

0 comments on commit a0bb510

Please sign in to comment.