gce: fix message around getting firewall rule

The error message was ambiguous.
This commit is contained in:
justinsb 2023-07-28 16:49:10 -04:00
parent 223b66c3f7
commit a15e9d7fb1
1 changed files with 1 additions and 1 deletions

View File

@ -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{}