Skip to content

Commit

Permalink
Merge pull request #1891 from terraform-providers/b-elasticache-prm-g…
Browse files Browse the repository at this point in the history
…rp-return

r/elasticache_parameter_group: Add missing return to retry logic
  • Loading branch information
radeksimko authored Oct 16, 2017
2 parents a2a895d + 445f5bf commit be2418b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/resource_aws_elasticache_parameter_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit be2418b

Please sign in to comment.