wip: update store. references to storage. in server.go
This commit is contained in:
committed by
=Michael Hohn
parent
873339ff06
commit
4269bacf2a
@@ -190,6 +190,12 @@ func GetJobInfo(js co.JobSpec) co.JobInfo {
|
||||
return info[js]
|
||||
}
|
||||
|
||||
func SetJobInfo(js co.JobSpec, ji co.JobInfo) {
|
||||
mutex.Lock()
|
||||
defer mutex.Unlock()
|
||||
info[js] = ji
|
||||
}
|
||||
|
||||
func GetStatus(sessionid int, orl co.OwnerRepo) co.Status {
|
||||
mutex.Lock()
|
||||
defer mutex.Unlock()
|
||||
|
||||
Reference in New Issue
Block a user