Skip to content

Commit

Permalink
remove goroutine
Browse files Browse the repository at this point in the history
  • Loading branch information
ichung08 committed Aug 21, 2024
1 parent 6f0dc93 commit 52be45a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions import/import_script.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,8 @@ provider "astro" {
}(resource)
}

go func() {
wg.Wait()
close(results)
}()
wg.Wait()
close(results)

var allResults []HandlerResult
var deploymentImportString string
Expand Down

0 comments on commit 52be45a

Please sign in to comment.