Skip to content

Commit

Permalink
lint check
Browse files Browse the repository at this point in the history
  • Loading branch information
conradludgate committed Feb 17, 2025
1 parent 071b29f commit f28713a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/neonvm/controllers/vm_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -401,10 +401,8 @@ func (r *VMReconciler) doReconcile(ctx context.Context, vm *vmv1.VirtualMachine)
}

// check if the certificate needs renewal for this running VM.
certSecret := &corev1.Secret{}
if enableTLS {
var err error
certSecret, err = r.reconcileCertificateSecret(ctx, vm)
certSecret, err := r.reconcileCertificateSecret(ctx, vm)
if err != nil {
return err
}
Expand Down

0 comments on commit f28713a

Please sign in to comment.