From eb070c92cb480254f0c1aab2cd2a626632d07200 Mon Sep 17 00:00:00 2001 From: DV Date: Wed, 12 Sep 2018 17:40:35 +0300 Subject: [PATCH] fixed type coercion on ParameterGroup --- ssm-cache-impl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssm-cache-impl.go b/ssm-cache-impl.go index d5c27a0..9987659 100644 --- a/ssm-cache-impl.go +++ b/ssm-cache-impl.go @@ -141,7 +141,7 @@ func (ssmCache *ssmCacheImpl) GetExpiringParameterGroup(groupKey string, Recursive: aws.Bool(true), } // Walk the pages... - paramMap := make(map[string]interface{}, 0) + paramMap := ParameterGroup(make(map[string]interface{}, 0)) pagingErr := ssmCache.ssmSvc.GetParametersByPathPages(paramByPathInput, func(page *ssm.GetParametersByPathOutput, lastPage bool) bool { for _, eachParam := range page.Parameters {