mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 02:43:36 +00:00
vendor updates
This commit is contained in:
2
vendor/k8s.io/apimachinery/pkg/util/waitgroup/waitgroup.go
generated
vendored
2
vendor/k8s.io/apimachinery/pkg/util/waitgroup/waitgroup.go
generated
vendored
@ -37,7 +37,7 @@ func (wg *SafeWaitGroup) Add(delta int) error {
|
||||
wg.mu.RLock()
|
||||
defer wg.mu.RUnlock()
|
||||
if wg.wait && delta > 0 {
|
||||
return fmt.Errorf("add with postive delta after Wait is forbidden")
|
||||
return fmt.Errorf("add with positive delta after Wait is forbidden")
|
||||
}
|
||||
wg.wg.Add(delta)
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user