fix copy/paste typo in OpenStack FW error messages
This commit is contained in:
parent
2633585531
commit
2ccaaf204d
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue