返回 DeepSeek-Reasonix
runtime_owner.go
根目录 / internal / jobs / runtime_owner.go
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
10 lines GO