Skip to content

Commit

Permalink
Merge pull request #2690 from zbbkeepgoing/remove_duplicate_import_se…
Browse files Browse the repository at this point in the history
…ssiongo

Remove duplicate import in session.go
  • Loading branch information
volcano-sh-bot committed Feb 27, 2023
2 parents 80f5688 + fc4c3d4 commit c163ee4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/scheduler/framework/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ import (
schedulingscheme "volcano.sh/apis/pkg/apis/scheduling/scheme"
vcv1beta1 "volcano.sh/apis/pkg/apis/scheduling/v1beta1"
"volcano.sh/volcano/pkg/scheduler/api"
schedulingapi "volcano.sh/volcano/pkg/scheduler/api"
"volcano.sh/volcano/pkg/scheduler/cache"
"volcano.sh/volcano/pkg/scheduler/conf"
"volcano.sh/volcano/pkg/scheduler/metrics"
Expand Down Expand Up @@ -530,7 +529,7 @@ func (ssn Session) InformerFactory() informers.SharedInformerFactory {
}

// RecordPodGroupEvent records podGroup events
func (ssn Session) RecordPodGroupEvent(podGroup *schedulingapi.PodGroup, eventType, reason, msg string) {
func (ssn Session) RecordPodGroupEvent(podGroup *api.PodGroup, eventType, reason, msg string) {
if podGroup == nil {
return
}
Expand Down

0 comments on commit c163ee4

Please sign in to comment.