Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit 3087b31

Browse files
authored
Merge pull request #41274 from thaJeztah/19.03_backport_Double_RLock
[19.03 backport] plugin: fix a double RLock bug Upstream-commit: 22c458b67c58945e3310cd1a814dbacdc4c67c92 Component: engine
2 parents 520fc10 + 9f4029e commit 3087b31

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

components/engine/plugin/store.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,7 @@ func (ps *Store) GetAllByCap(capability string) ([]plugingetter.CompatPlugin, er
188188
* bypassing the daemon. For such tests, this check is necessary.
189189
*/
190190
if ps != nil {
191-
ps.RLock()
192191
result = ps.getAllByCap(capability)
193-
ps.RUnlock()
194192
}
195193

196194
// Lookup with legacy model

0 commit comments

Comments
 (0)