Skip to content

Commit 754ac79

Browse files
author
Valeriy Khorunzhin
committed
fix linter
Signed-off-by: Valeriy Khorunzhin <[email protected]>
1 parent f5f00b0 commit 754ac79

File tree

1 file changed

+1
-2
lines changed
  • test/e2e/internal/util

1 file changed

+1
-2
lines changed

test/e2e/internal/util/vm.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import (
2626
. "github.com/onsi/gomega"
2727
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2828
"sigs.k8s.io/controller-runtime/pkg/client"
29-
crclient "sigs.k8s.io/controller-runtime/pkg/client"
3029

3130
vmopbuilder "github.com/deckhouse/virtualization-controller/pkg/builder/vmop"
3231
"github.com/deckhouse/virtualization-controller/pkg/controller/conditions"
@@ -158,7 +157,7 @@ func IsRestartRequired(vm *v1alpha2.VirtualMachine, timeout time.Duration) bool
158157
}
159158

160159
Eventually(func(g Gomega) {
161-
err := framework.GetClients().GenericClient().Get(context.Background(), crclient.ObjectKeyFromObject(vm), vm)
160+
err := framework.GetClients().GenericClient().Get(context.Background(), client.ObjectKeyFromObject(vm), vm)
162161
g.Expect(err).NotTo(HaveOccurred())
163162
needRestart, _ := conditions.GetCondition(vmcondition.TypeAwaitingRestartToApplyConfiguration, vm.Status.Conditions)
164163
g.Expect(needRestart.Status).To(Equal(metav1.ConditionTrue))

0 commit comments

Comments
 (0)