| 1 | package jobs |
| 2 | |
| 3 | // Recorder ownership is immutable once the manager starts admitting jobs. |
| 4 | func (m *Manager) TaskRuntimeOwnerID() string { |
| 5 | if owner, ok := m.taskRecorder.(interface{ RuntimeOwnerID() string }); ok { |
| 6 | return owner.RuntimeOwnerID() |
| 7 | } |
| 8 | return "" |
| 9 | } |
| 10 |