about summary refs log tree commit diff
path: root/submitqueue/runner.go
diff options
context:
space:
mode:
Diffstat (limited to 'submitqueue/runner.go')
-rw-r--r--submitqueue/runner.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/submitqueue/runner.go b/submitqueue/runner.go
index 2c84a7d69b7f..23ff46bea4b3 100644
--- a/submitqueue/runner.go
+++ b/submitqueue/runner.go
@@ -28,6 +28,11 @@ func (r *Runner) GetResults() (*time.Time, []*Result) {
 	return r.currentlyRunning, r.results
 }
 
+// GetSubmitQueue returns the submit queue object, to be consumed by the frontend
+func (r *Runner) GetSubmitQueue() (*SubmitQueue) {
+	return r.SubmitQueue
+}
+
 // Trigger starts a new batch job
 // TODO: make sure only one batch job is started at the same time
 // if a batch job is already started, ignore the newest request