From c5ba550803943968190b0b01f554cab92149a882 Mon Sep 17 00:00:00 2001 From: Misha Sakhnov Date: Tue, 26 Nov 2024 13:11:57 +0100 Subject: [PATCH] neonvm-controller: apply code formatting Signed-off-by: Misha Sakhnov --- pkg/neonvm/controllers/vmmigration_controller.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/neonvm/controllers/vmmigration_controller.go b/pkg/neonvm/controllers/vmmigration_controller.go index 22533d0c1..e3b3ab7aa 100644 --- a/pkg/neonvm/controllers/vmmigration_controller.go +++ b/pkg/neonvm/controllers/vmmigration_controller.go @@ -246,7 +246,6 @@ func (r *VirtualMachineMigrationReconciler) Reconcile(ctx context.Context, req c // NB: .Spec.EnableSSH guaranteed non-nil because the k8s API server sets the default for us. enableSSH := *vm.Spec.EnableSSH var sshSecret *corev1.Secret - if enableSSH { // We require the SSH secret to exist because we cannot unmount and // mount the new secret into the VM after the live migration. If a