Skip to content

Commit

Permalink
Fix semgrep 'ci.semgrep.pluginsdk.append-Read-to-diags'.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewbankkit committed Jul 25, 2024
1 parent ee1b5ad commit 8df8631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/service/rds/snapshot_copy.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ func resourceSnapshotCopyUpdate(ctx context.Context, d *schema.ResourceData, met
}
}

return resourceSnapshotCopyRead(ctx, d, meta)
return append(diags, resourceSnapshotCopyRead(ctx, d, meta)...)
}

func resourceSnapshotCopyDelete(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics {
Expand Down

0 comments on commit 8df8631

Please sign in to comment.