Skip to content

Commit e034df0

Browse files
mresvanisybettan
andauthored
Update controllers/module_reconciler.go
Co-authored-by: Yoni Bettan <[email protected]>
1 parent 67c1143 commit e034df0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/module_reconciler.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ func (r *ModuleReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctr
121121
}
122122
if mod.Spec.DevicePlugin != nil && mod.Spec.DevicePlugin.ServiceAccountName == "" {
123123
if err := r.rbacAPI.CreateDevicePluginRBAC(ctx, *mod); err != nil {
124-
return res, fmt.Errorf("could not reconcile device plugin RBAC: %w", err)
124+
return res, fmt.Errorf("could not create device-plugin's RBAC: %w", err)
125125
}
126126
}
127127

0 commit comments

Comments
 (0)