Skip to content

Commit be589c7

Browse files
xxx: comments
Signed-off-by: John Mulligan <jmulligan@redhat.com>
1 parent ab4783d commit be589c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

controllers/smbcommonconfig_controller.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ type SmbCommonConfigReconciler struct {
3737
// +kubebuilder:rbac:groups=samba-operator.samba.org,resources=smbcommonconfigs,verbs=get;list;watch;create;update;patch;delete
3838
// +kubebuilder:rbac:groups=samba-operator.samba.org,resources=smbcommonconfigs/status,verbs=get;update;patch
3939

40+
// Reconcile SmbCommonConfig resources.
4041
func (r *SmbCommonConfigReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error) {
4142
_ = context.Background()
4243
_ = r.Log.WithValues("smbcommonconfig", req.NamespacedName)
@@ -46,6 +47,7 @@ func (r *SmbCommonConfigReconciler) Reconcile(req ctrl.Request) (ctrl.Result, er
4647
return ctrl.Result{}, nil
4748
}
4849

50+
// SetupWithManager sets up resource management.
4951
func (r *SmbCommonConfigReconciler) SetupWithManager(mgr ctrl.Manager) error {
5052
return ctrl.NewControllerManagedBy(mgr).
5153
For(&sambaoperatorv1alpha1.SmbCommonConfig{}).

0 commit comments

Comments
 (0)