From 445f5bf1505b56ba150cbedaa07bbde4a7f1143e Mon Sep 17 00:00:00 2001 From: Radek Simko Date: Sat, 14 Oct 2017 13:35:41 +0300 Subject: [PATCH] r/elasticache_parameter_group: Add missing return to retry logic --- aws/resource_aws_elasticache_parameter_group.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/resource_aws_elasticache_parameter_group.go b/aws/resource_aws_elasticache_parameter_group.go index 7ada3041f1b..1ffdc034cbd 100644 --- a/aws/resource_aws_elasticache_parameter_group.go +++ b/aws/resource_aws_elasticache_parameter_group.go @@ -178,7 +178,7 @@ func resourceAwsElasticacheParameterGroupUpdate(d *schema.ResourceData, meta int _, err = conn.ResetCacheParameterGroup(&resetOpts) if err != nil { if isAWSErr(err, "InvalidCacheParameterGroupState", " has pending changes") { - resource.RetryableError(err) + return resource.RetryableError(err) } return resource.NonRetryableError(err) }