Skip to content

Commit 105ae1f

Browse files
committed
[golangci-lint] unnecessary trailing newline, multi-line statement should be followed by a newline
1 parent c09fca5 commit 105ae1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/controller/eviction_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,6 @@ func (r *EvictionReconciler) enableHypervisorService(ctx context.Context, evicti
479479
return nil
480480
}
481481
}
482-
483482
}
484483

485484
// disableHypervisor disables the hypervisor service and adds a finalizer to the eviction
@@ -574,6 +573,7 @@ func (r *EvictionReconciler) coldMigrate(ctx context.Context, uuid string, evict
574573
// addCondition adds a condition to the Eviction status and updates the status
575574
func (r *EvictionReconciler) addCondition(ctx context.Context, eviction *kvmv1.Eviction,
576575
status metav1.ConditionStatus, message string, reason string) bool {
576+
577577
if !meta.SetStatusCondition(&eviction.Status.Conditions, metav1.Condition{
578578
Type: kvmv1.ConditionTypeEvicting,
579579
Status: status,

0 commit comments

Comments
 (0)