Skip to content

Commit 574ff61

Browse files
committed
fix: update error message in getSQLInstancesForTeam to reference project ID
1 parent e2ccd5b commit 574ff61

File tree

1 file changed

+1
-1
lines changed
  • internal/reconcilers/google/audit

1 file changed

+1
-1
lines changed

internal/reconcilers/google/audit/sql.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ func (r *auditLogReconciler) getSQLInstancesForTeam(ctx context.Context, teamSlu
1818
sqlInstances := make([]string, 0)
1919
response, err := r.services.SQLAdminService.Instances.List(teamProjectID).Context(ctx).Do()
2020
if err != nil {
21-
return nil, fmt.Errorf("list sql instances for team %s: %w", teamSlug, err)
21+
return nil, fmt.Errorf("list sql instances for project ID %s: %w", teamProjectID, err)
2222
}
2323
for _, i := range response.Items {
2424
if HasPgAuditEnabled(i) {

0 commit comments

Comments
 (0)