mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-17 03:24:40 -07:00
add stream name to create subject
I anticipate it would be desirable to allow a microservice running in an account to create only the stream it needs when it starts up if there is no stream but no others, so a ACL would be written to allow that. Thus adding the T pattern to stream create too.
This commit is contained in:
committed by
Derek Collison
parent
72cda966f4
commit
25e535eab8
@@ -3436,7 +3436,7 @@ func TestJetStreamRequestAPI(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatalf("Unexpected error: %v", err)
|
||||
}
|
||||
resp, _ = nc.Request(server.JetStreamCreateStream, req, time.Second)
|
||||
resp, _ = nc.Request(fmt.Sprintf(server.JetStreamCreateStreamT, msetCfg.Name), req, time.Second)
|
||||
expectOKResponse(t, resp)
|
||||
|
||||
// Now lookup info again and see that we can see the new stream.
|
||||
|
||||
Reference in New Issue
Block a user