Skip to content

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Xiang Dai <long0dai@foxmail.com>
  • Loading branch information
daixiang0 committed May 27, 2020
1 parent b8f32a7 commit 1f17a71
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 15 deletions.
4 changes: 1 addition & 3 deletions pkg/scheduler/actions/allocate/allocate.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ import (
"volcano.sh/volcano/pkg/scheduler/util"
)

type Action struct {
_ *framework.Session
}
type Action struct{}

func New() *Action {
return &Action{}
Expand Down
4 changes: 1 addition & 3 deletions pkg/scheduler/actions/backfill/backfill.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ import (
"volcano.sh/volcano/pkg/scheduler/framework"
)

type Action struct {
_ *framework.Session
}
type Action struct{}

func New() *Action {
return &Action{}
Expand Down
4 changes: 1 addition & 3 deletions pkg/scheduler/actions/enqueue/enqueue.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ var (
defaultOverCommitFactor = 1.2
)

type Action struct {
_ *framework.Session
}
type Action struct{}

func New() *Action {
return &Action{}
Expand Down
4 changes: 1 addition & 3 deletions pkg/scheduler/actions/preempt/preempt.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ import (
"volcano.sh/volcano/pkg/scheduler/util"
)

type Action struct {
_ *framework.Session
}
type Action struct{}

func New() *Action {
return &Action{}
Expand Down
4 changes: 1 addition & 3 deletions pkg/scheduler/actions/reclaim/reclaim.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ import (
"volcano.sh/volcano/pkg/scheduler/util"
)

type Action struct {
_ *framework.Session
}
type Action struct{}

func New() *Action {
return &Action{}
Expand Down

0 comments on commit 1f17a71

Please sign in to comment.