| Index: scheduler/appengine/engine/engine.go
|
| diff --git a/scheduler/appengine/engine/engine.go b/scheduler/appengine/engine/engine.go
|
| index 6aa52893e2ba00001d9ac372da1b84d74a6814f3..59488dc1bc5ef02b1dbc941b654695874ceed098 100644
|
| --- a/scheduler/appengine/engine/engine.go
|
| +++ b/scheduler/appengine/engine/engine.go
|
| @@ -257,6 +257,13 @@ type Job struct {
|
| State JobState
|
| }
|
|
|
| +// GetJobName returns name of this Job as defined its project's config.
|
| +func (e *Job) GetJobName() string {
|
| + // JobID has form <project>/<id>. Split it into components.
|
| + chunks := strings.Split(e.JobID, "/")
|
| + return chunks[1]
|
| +}
|
| +
|
| // effectiveSchedule returns schedule string to use for the job, considering its
|
| // Paused field.
|
| //
|
|
|