Skip to content

Commit

Permalink
Added missing wg.Done()
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyaxod committed Mar 1, 2024
1 parent 18e9e69 commit 27bed97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ func runServe(ccmd *cobra.Command, args []string) {
if err != nil {
fmt.Printf("There was an issue migrating the storage %d %v\n", index, err)
}
wg.Done()
}(i, s)
}
wg.Wait()
Expand Down

0 comments on commit 27bed97

Please sign in to comment.