mirror of
https://github.com/kemko/nomad.git
synced 2026-01-09 11:55:42 +03:00
Merge branch 'master' of github.com:hashicorp/nomad
This commit is contained in:
@@ -180,6 +180,10 @@ func (r *TaskRunner) RestoreState() error {
|
||||
r.handleLock.Lock()
|
||||
r.handle = handle
|
||||
r.handleLock.Unlock()
|
||||
|
||||
r.runningLock.Lock()
|
||||
r.running = true
|
||||
r.runningLock.Unlock()
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user