Skip to content

Commit 3fcf0a6

Browse files
committed
chore: remove duplicated import for code polish
Signed-off-by: bitliu <bitliu@tencent.com>
1 parent a6f468c commit 3fcf0a6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/epp/common/config/loader/configloader.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import (
2525
utilruntime "k8s.io/apimachinery/pkg/util/runtime"
2626
"k8s.io/apimachinery/pkg/util/sets"
2727

28-
"sigs.k8s.io/gateway-api-inference-extension/api/config/v1alpha1"
2928
configapi "sigs.k8s.io/gateway-api-inference-extension/api/config/v1alpha1"
3029
"sigs.k8s.io/gateway-api-inference-extension/pkg/epp/plugins"
3130
"sigs.k8s.io/gateway-api-inference-extension/pkg/epp/scheduling"
@@ -61,7 +60,7 @@ func LoadConfig(configBytes []byte, handle plugins.Handle) (*configapi.EndpointP
6160
return config, nil
6261
}
6362

64-
func LoadSchedulerConfig(configProfiles []v1alpha1.SchedulingProfile, handle plugins.Handle) (*scheduling.SchedulerConfig, error) {
63+
func LoadSchedulerConfig(configProfiles []configapi.SchedulingProfile, handle plugins.Handle) (*scheduling.SchedulerConfig, error) {
6564
profiles := map[string]*framework.SchedulerProfile{}
6665
for _, namedProfile := range configProfiles {
6766
profile := framework.NewSchedulerProfile()

0 commit comments

Comments
 (0)