From b3514adcfe843421913a0552f46d29b9b79d854d Mon Sep 17 00:00:00 2001 From: Nandan Sridhar Date: Mon, 5 Aug 2019 10:08:34 -0700 Subject: [PATCH] fix typo in comment --- cmd/products/impprod/impprod.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/products/impprod/impprod.go b/cmd/products/impprod/impprod.go index d6131635..272a433e 100644 --- a/cmd/products/impprod/impprod.go +++ b/cmd/products/impprod/impprod.go @@ -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() @@ -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 }