Skip to content

Commit

Permalink
no new()
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Jul 16, 2021
1 parent 4c31c99 commit 2ec04f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ var deployCmd = &cobra.Command{
return err
}

wg := new(sync.WaitGroup)
wg := &sync.WaitGroup{}
wg.Add(len(c.Nodes))

for _, node := range c.Nodes {
Expand Down

0 comments on commit 2ec04f7

Please sign in to comment.