Skip to content

Commit cd9f628

Browse files
committed
delete: goimports
1 parent 646c193 commit cd9f628

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

internal/service/vmservice/delete.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@ import (
2525
"sigs.k8s.io/cluster-api/util/conditions"
2626
ctrlutil "sigs.k8s.io/controller-runtime/pkg/controller/controllerutil"
2727

28+
"github.com/pkg/errors"
29+
2830
infrav1alpha1 "github.com/ionos-cloud/cluster-api-provider-proxmox/api/v1alpha1"
2931
"github.com/ionos-cloud/cluster-api-provider-proxmox/pkg/proxmox/goproxmox"
3032
"github.com/ionos-cloud/cluster-api-provider-proxmox/pkg/scope"
31-
"github.com/pkg/errors"
3233
)
3334

3435
// DeleteVM implements the logic of destroying a VM.

internal/service/vmservice/delete_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ import (
2121
"errors"
2222
"testing"
2323

24-
infrav1alpha1 "github.com/ionos-cloud/cluster-api-provider-proxmox/api/v1alpha1"
2524
"github.com/stretchr/testify/require"
2625
corev1 "k8s.io/api/core/v1"
2726
"k8s.io/utils/ptr"
27+
28+
infrav1alpha1 "github.com/ionos-cloud/cluster-api-provider-proxmox/api/v1alpha1"
2829
)
2930

3031
func TestDeleteVM_SuccessNotFound(t *testing.T) {

0 commit comments

Comments
 (0)