()
| 403 | } |
| 404 | |
| 405 | func (b *BackgroundManager) GetRunState() BackgroundProcessState { |
| 406 | b.lock.Lock() |
| 407 | defer b.lock.Unlock() |
| 408 | return b.State |
| 409 | } |
| 410 | |
| 411 | // For test use only |
| 412 | // Returns empty string if background process is not cluster aware |