fix copy/paste typo in OpenStack FW error messages

This commit is contained in:
Alexander Dupuy 2015-05-05 14:01:49 +02:00
parent 2633585531
commit 2ccaaf204d
3 changed files with 3 additions and 3 deletions

View File

@ -106,7 +106,7 @@ func resourceFWFirewallV1Read(d *schema.ResourceData, meta interface{}) error {
firewall, err := firewalls.Get(networkingClient, d.Id()).Extract()
if err != nil {
return CheckDeleted(d, err, "LB pool")
return CheckDeleted(d, err, "firewall")
}
d.Set("name", firewall.Name)

View File

@ -116,7 +116,7 @@ func resourceFWPolicyV1Read(d *schema.ResourceData, meta interface{}) error {
policy, err := policies.Get(networkingClient, d.Id()).Extract()
if err != nil {
return CheckDeleted(d, err, "LB pool")
return CheckDeleted(d, err, "FW policy")
}
d.Set("name", policy.Name)

View File

@ -125,7 +125,7 @@ func resourceFWRuleV1Read(d *schema.ResourceData, meta interface{}) error {
rule, err := rules.Get(networkingClient, d.Id()).Extract()
if err != nil {
return CheckDeleted(d, err, "LB pool")
return CheckDeleted(d, err, "FW rule")
}
d.Set("protocol", rule.Protocol)