providers/aws: style
This commit is contained in:
parent
cd1e70faab
commit
e3b64f5bb5
|
@ -96,8 +96,7 @@ func resourceAwsDbSecurityGroupCreate(d *schema.ResourceData, meta interface{})
|
||||||
|
|
||||||
ingresses := d.Get("ingress").(*schema.Set)
|
ingresses := d.Get("ingress").(*schema.Set)
|
||||||
for _, ing := range ingresses.List() {
|
for _, ing := range ingresses.List() {
|
||||||
err = resourceAwsDbSecurityGroupAuthorizeRule(ing, sg.Name, conn)
|
err := resourceAwsDbSecurityGroupAuthorizeRule(ing, sg.Name, conn)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
errs = append(errs, err)
|
errs = append(errs, err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue