Skip to content
This repository has been archived by the owner on Jul 26, 2021. It is now read-only.

Commit

Permalink
Merge pull request #4 from terraform-providers/b-security-group-rule
Browse files Browse the repository at this point in the history
Security group rules don’t have a `name` parameter
  • Loading branch information
Sander van Harmelen committed Jun 27, 2017
2 parents be2d2a1 + 588fdd2 commit 2a9195c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudstack/resource_cloudstack_security_group_rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ func resourceCloudStackSecurityGroupRuleRead(d *schema.ResourceData, meta interf
)
if err != nil {
if count == 0 {
log.Printf("[DEBUG] Security group %s does not longer exist", d.Get("name").(string))
log.Printf("[DEBUG] Security group %s does not longer exist", d.Id())
d.SetId("")
return nil
}
Expand Down

0 comments on commit 2a9195c

Please sign in to comment.