mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-17 11:24:44 -07:00
While the TransformSubject function was doing the right thing it did not match first and so would panic for subjects that do not match the mapping. The map function does the right thing so this is a more appropriate function to export. This undoes the exporting of unsafe TransformSubject and exports the safer Match instead. Signed-off-by: R.I.Pienaar <rip@devco.net>
148 KiB
148 KiB