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

Commit

Permalink
Security group rules don’t have a name parameter
Browse files Browse the repository at this point in the history
Fixes #2
  • Loading branch information
Sander van Harmelen committed Jun 27, 2017
1 parent be2d2a1 commit 588fdd2
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 588fdd2

Please sign in to comment.