Remove duplicate import
This commit is contained in:
parent
422e9c4c4e
commit
5b60f4e2d7
1 changed files with 1 additions and 2 deletions
|
@ -37,7 +37,6 @@ import (
|
||||||
text_template "text/template"
|
text_template "text/template"
|
||||||
|
|
||||||
networkingv1 "k8s.io/api/networking/v1"
|
networkingv1 "k8s.io/api/networking/v1"
|
||||||
v1 "k8s.io/api/networking/v1"
|
|
||||||
"k8s.io/apimachinery/pkg/util/sets"
|
"k8s.io/apimachinery/pkg/util/sets"
|
||||||
"k8s.io/klog/v2"
|
"k8s.io/klog/v2"
|
||||||
|
|
||||||
|
@ -1071,7 +1070,7 @@ func getIngressInformation(i, h, p, t interface{}) *ingressInformation {
|
||||||
return &ingressInformation{}
|
return &ingressInformation{}
|
||||||
}
|
}
|
||||||
|
|
||||||
ingressPathType, ok := t.(*v1.PathType)
|
ingressPathType, ok := t.(*networkingv1.PathType)
|
||||||
if !ok {
|
if !ok {
|
||||||
klog.Errorf("expected a '*v1.PathType' type but %T was returned", t)
|
klog.Errorf("expected a '*v1.PathType' type but %T was returned", t)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue