mirror of https://github.com/kubernetes/kops.git
gce: fix message around getting firewall rule
The error message was ambiguous.
This commit is contained in:
parent
223b66c3f7
commit
a15e9d7fb1
|
@ -68,7 +68,7 @@ func (e *FirewallRule) Find(c *fi.CloudupContext) (*FirewallRule, error) {
|
|||
if gce.IsNotFound(err) {
|
||||
return nil, nil
|
||||
}
|
||||
return nil, fmt.Errorf("error listing FirewallRules: %v", err)
|
||||
return nil, fmt.Errorf("getting FirewallRule %q: %w", *e.Name, err)
|
||||
}
|
||||
|
||||
actual := &FirewallRule{}
|
||||
|
|
Loading…
Reference in New Issue