(jobId string)
| 519 | } |
| 520 | |
| 521 | func GetJobConnStatus(jobId string) string { |
| 522 | jobControllerLock.Lock() |
| 523 | defer jobControllerLock.Unlock() |
| 524 | status, exists := jobConnStates[jobId] |
| 525 | if !exists { |
| 526 | return JobConnStatus_Disconnected |
| 527 | } |
| 528 | return status |
| 529 | } |
| 530 | |
| 531 | func SetJobConnStatus(jobId string, status string) { |
| 532 | jobControllerLock.Lock() |
no outgoing calls
no test coverage detected