Skip to content

Commit

Permalink
EC: fix wait-group typo
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Aizman <alex.aizman@gmail.com>
  • Loading branch information
alex-aizman committed Nov 20, 2024
1 parent 35bd99f commit 6d0da64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ec/getjogger.go
Original file line number Diff line number Diff line change
Expand Up @@ -849,10 +849,10 @@ func (c *getJogger) requestMeta(ctx *restoreCtx) error {
nodes := md.RemoteTargets()
ctx.nodes = make(map[string]*Metadata, len(nodes))
for _, node := range nodes {
wg.Add(1)
if node.InMaintOrDecomm() {
continue
}
wg.Add(1)
go func(si *meta.Snode, c *getJogger, mtx *sync.Mutex, mdExists bool) {
ctx.requestMeta(si, c, mtx, mdExists)
wg.Done()
Expand Down

0 comments on commit 6d0da64

Please sign in to comment.