Skip to content
This repository has been archived by the owner on May 6, 2022. It is now read-only.

Commit

Permalink
fix typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
srinandan committed Aug 5, 2019
1 parent 80459b0 commit b3514ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/products/impprod/impprod.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func createAsyncProduct(url string, entity Product, wg *sync.WaitGroup) {
shared.Info.Printf("Completed entity: %s", entity.Name)
}

//batch created a batch of products to query
//batch creates a batch of products to create
func batch(url string, entities []Product, pwg *sync.WaitGroup) {

defer pwg.Done()
Expand Down Expand Up @@ -93,7 +93,7 @@ func createProducts(url string) error {

numOfLoops, remaining := numEntities/conn, numEntities%conn

//ensure connections aren't greater then products
//ensure connections aren't greater than products
if conn > numEntities {
conn = numEntities
}
Expand Down

0 comments on commit b3514ad

Please sign in to comment.