nats-io / nsc

Tool for creating nkey/jwt based configurations
Apache License 2.0
98 stars 44 forks source link

[Artificial Loss ]subject_mapping ? #632

Closed chenjpu closed 8 months ago

chenjpu commented 8 months ago

What version were you using?

nats-server: v2.10.7

What environment was the server running in?

windows

Is this defect reproducible?

>nsc add mapping -f "foo.loss.>" -t "foo.loss.>"

Given the capability you are leveraging, describe your expectation?

image

Given the expectation, what is the defect you are observing?

Error: mapping validation failed: [Subject "foo.loss.>" in weighted mapping "foo.loss.>" is not allowed to contains wildcard]