server/datastore/inmem: fix host removal lock (#1673)
This commit is contained in:
committed by
Zachary Wasserman
parent
74bd70f54f
commit
1bd622bce7
@@ -190,7 +190,7 @@ func (d *Datastore) RemoveLabelFromPack(lid, pid uint) error {
|
||||
|
||||
func (d *Datastore) RemoveHostFromPack(hid, pid uint) error {
|
||||
d.mtx.Lock()
|
||||
d.mtx.Unlock()
|
||||
defer d.mtx.Unlock()
|
||||
|
||||
var hostsToDelete []uint
|
||||
|
||||
|
||||
Reference in New Issue
Block a user