Skip to content
This repository was archived by the owner on Jan 21, 2020. It is now read-only.

Commit 8582433

Browse files
author
David Chung
authored
Fix race condition (#445)
Signed-off-by: David Chung <[email protected]>
1 parent a8b26d3 commit 8582433

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/plugin/group/scaler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ func (s *scaler) ID() group.ID {
215215
}
216216

217217
func (s *scaler) Size() uint {
218-
return s.size
218+
return s.getSize()
219219
}
220220

221221
func (s *scaler) waitIfReachParallelLimit(current int, batch *sync.WaitGroup) {

0 commit comments

Comments
 (0)