Skip to content

Commit

Permalink
Update controllers/module_reconciler.go
Browse files Browse the repository at this point in the history
Co-authored-by: Yoni Bettan <yonibettan@gmail.com>
  • Loading branch information
mresvanis and ybettan committed Sep 28, 2022
1 parent d60b38a commit 67c1143
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/module_reconciler.go
Expand Up @@ -116,7 +116,7 @@ func (r *ModuleReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctr

if mod.Spec.ModuleLoader.ServiceAccountName == "" {
if err := r.rbacAPI.CreateModuleLoaderRBAC(ctx, *mod); err != nil {
return res, fmt.Errorf("could not reconcile module loader RBAC: %w", err)
return res, fmt.Errorf("could not create module-loader's RBAC: %w", err)
}
}
if mod.Spec.DevicePlugin != nil && mod.Spec.DevicePlugin.ServiceAccountName == "" {
Expand Down

0 comments on commit 67c1143

Please sign in to comment.