Skip to content

Commit

Permalink
Update content/oci/oci.go
Browse files Browse the repository at this point in the history
Co-authored-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
Signed-off-by: Xiaoxuan Wang <103478229+wangxiaoxuan273@users.noreply.github.com>
  • Loading branch information
wangxiaoxuan273 and Wwwsylvia authored Nov 20, 2023
1 parent 1d1628b commit 02dd423
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/oci/oci.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ type Store struct {
// has the exclusive access to Store if a delete operation is underway. Operations
// such as Fetch, Push use sync.RLock(), while Delete uses sync.Lock().
sync sync.RWMutex
// indexLock ensures that only one process is writing to the index.
// indexLock ensures that only one go-routine is writing to the index.
indexLock sync.Mutex
}

Expand Down

0 comments on commit 02dd423

Please sign in to comment.