Skip to content

Commit

Permalink
chore(style): adding gocyclo nolint directive
Browse files Browse the repository at this point in the history
Signed-off-by: Dario Tranchitella <[email protected]>
  • Loading branch information
prometherion committed Oct 23, 2024
1 parent d6cf611 commit 9fe498e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/kamajicontrolplane_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ type KamajiControlPlaneReconciler struct {
//+kubebuilder:rbac:groups=controlplane.cluster.x-k8s.io,resources=kamajicontrolplanes/finalizers,verbs=update
//+kubebuilder:rbac:groups=cluster.x-k8s.io,resources=clusters,verbs=get;list;watch

func (r *KamajiControlPlaneReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) { //nolint:funlen,cyclop,maintidx,gocognit
func (r *KamajiControlPlaneReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) { //nolint:funlen,cyclop,maintidx,gocognit,gocyclo
var err error

now, log := time.Now(), ctrllog.FromContext(ctx)
Expand Down

0 comments on commit 9fe498e

Please sign in to comment.