Skip to content

Commit

Permalink
Signed-off-by: limengxuan <[email protected]>
Browse files Browse the repository at this point in the history
fix format
  • Loading branch information
archlitchi authored Jul 18, 2023
1 parent ed42a5d commit e8f7191
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/scheduler/api/shared_device_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ type Devices interface {
//HasDeviceRequest checks if the 'pod' request this device
HasDeviceRequest(pod *v1.Pod) bool
//FiltreNode checks if the 'pod' fit in current node

// The first return value represents the filtering result, and the value range is "0, 1, 2, 3"
// 0: Success
// Success means that plugin ran correctly and found pod schedulable.
Expand All @@ -60,7 +59,7 @@ type Devices interface {
// The accompanying status message should explain why the pod is unschedulable.
FilterNode(pod *v1.Pod) (int, string, error)

//ScoreNode returns the score of the current node based on this device
//ScoreNode returns the score of the current node based on this device
ScoreNode(pod *v1.Pod) (float64, error)

//Allocate action in predicate
Expand Down

0 comments on commit e8f7191

Please sign in to comment.