Skip to content

Commit

Permalink
[YUNIKORN-2233] Scheduler core cannot be stopped properly (#114)
Browse files Browse the repository at this point in the history
Add a Stop() method the SchedulerAPI interface.

Closes: #114

Signed-off-by: Craig Condit <[email protected]>
  • Loading branch information
pbacsko authored and craigcondit committed Dec 11, 2023
1 parent 2d2c3d3 commit ec7bfad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/go/api/interface.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions scheduler-interface-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@ type SchedulerAPI interface {

// Notify scheduler to reload configuration and hot-refresh in-memory state based on configuration changes
UpdateConfiguration(request *si.UpdateConfigurationRequest) error

// Stops the scheduler API service
Stop()
}

// RM side needs to implement this API
Expand Down

0 comments on commit ec7bfad

Please sign in to comment.