mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
server/datastore/inmem: fix host removal lock (#1673)
This commit is contained in:
parent
74bd70f54f
commit
1bd622bce7
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue