Depending upon how you made the complaint, and the police agency's procedures for handling complaints, that could be an issue of a violation of the law or procedure; or it could be that there was no extension of confidentiality to your complaint or that any violation of procedure would be a disciplinary issue and not something that would affect an amended ticket.
Rules governing the basic requirements for police department complaint procedures can be found here. I didn't see anything requiring confidentiality for a complainant's identity, although a police department would nonetheless be able to grant anonymity under circumstances defined by its policies.

