Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
Signed-off-by: Cabinfever_B <[email protected]>
  • Loading branch information
CabinfeverB committed Oct 12, 2022
1 parent d074fe1 commit 24b703d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/schedule/plan/plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ func SetResource(resource interface{}) Option {
}
}

// SetResourceAtThirdStep is used to generate Resource for plan
func SetResourceAtThirdStep(resource interface{}) Option {
// SetResourceWithStep is used to generate Resource for plan
func SetResourceWithStep(resource interface{}, step int) Option {
return func(plan Plan) {
plan.SetResourceWithStep(resource, 2)
plan.SetResourceWithStep(resource, step)
}
}

0 comments on commit 24b703d

Please sign in to comment.