Skip to content

Commit

Permalink
fix(warehouse): remove bad unlock (#2590)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jayachand committed Oct 19, 2022
1 parent 807fadb commit aba7893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion warehouse/identities.go
Expand Up @@ -135,7 +135,7 @@ func (wh *HandleT) getPendingPopulateIdentitiesLoad(warehouse warehouseutils.War
var ok bool
wh.workspaceBySourceIDsLock.RLock()
upload.WorkspaceID, ok = wh.workspaceBySourceIDs[upload.SourceID]
wh.workspaceBySourceIDsLock.Unlock()
wh.workspaceBySourceIDsLock.RUnlock()

if !ok {
pkgLogger.Warnf("Workspace not found for source id: %q", upload.SourceID)
Expand Down

0 comments on commit aba7893

Please sign in to comment.