• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

nats-io / nats-server / 10025683519

19 Jul 2024 03:50AM UTC coverage: 85.106% (-0.002%) from 85.108%
10025683519

push

github

web-flow
[FIXED/CHANGED] Reject server/cluster/gateway names with spaces (#5676)

Having cluster name with spaces in the context of a leaf node could
cause problems when a subscription on the leaf node would be propagated
in the cluster's hub.

Since when a gateway is specified the name of the gateway needs to match
the name of the cluster, the restriction of "no spaces" is added to
gateway name.

Finally, in the case of the leafnode, if no cluster name is specified
the server name is used, so also applying the restriction to the server
name.

Resolves #5633

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>

66002 of 77553 relevant lines covered (85.11%)

1057247.58 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

81.82
/src/github.com/nats-io/nats-server/server/jetstream.go


Source Not Available

The file "src/github.com/nats-io/nats-server/server/jetstream.go" isn't available on github. Either it's been removed, or the repo root directory needs to be updated.

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc