Skip to content

Commit

Permalink
Merge pull request #47 from oshoval/pkg
Browse files Browse the repository at this point in the history
tests: Remove double import
  • Loading branch information
kubevirt-bot authored Jul 22, 2024
2 parents 9f785c3 + 96e16c1 commit b6d7852
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/env/matcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (
"k8s.io/apimachinery/pkg/types"

kubevirtv1 "kubevirt.io/api/core/v1"
v1 "kubevirt.io/api/core/v1"

ipamclaimsv1alpha1 "github.com/k8snetworkplumbingwg/ipamclaims/pkg/crd/ipamclaims/v1alpha1"
)
Expand Down Expand Up @@ -66,7 +65,7 @@ func BeRestarted(oldUID types.UID) gomegatypes.GomegaMatcher {
"UID": Not(Equal(oldUID)),
}),
"Status": gstruct.MatchFields(gstruct.IgnoreExtras, gstruct.Fields{
"Phase": Equal(v1.Running),
"Phase": Equal(kubevirtv1.Running),
}),
}))
}
Expand Down

0 comments on commit b6d7852

Please sign in to comment.