From a3a21669b6ca58d57a81548fcfcdf9b641d6b163 Mon Sep 17 00:00:00 2001 From: evalphobia Date: Fri, 26 Jun 2020 14:54:30 +0900 Subject: [PATCH] [rekognition] Fix bug in (pointers in loop) (#65) --- rekognition/collection.go | 1 + 1 file changed, 1 insertion(+) diff --git a/rekognition/collection.go b/rekognition/collection.go index 7d7c687..b72dcbd 100644 --- a/rekognition/collection.go +++ b/rekognition/collection.go @@ -92,6 +92,7 @@ func (c *Collection) DeleteFaces(faceIDs []string) ([]string, error) { ids := make([]*string, len(faceIDs)) for i, id := range faceIDs { + id := id ids[i] = &id }