mirror of
https://github.com/nats-io/nats.go.git
synced 2025-11-03 10:41:00 +08:00
js: Fix a few golint errors
Signed-off-by: Waldemar Quevedo <wally@synadia.com>
This commit is contained in:
@@ -588,7 +588,7 @@ func TestJetStreamImport(t *testing.T) {
|
||||
defer nc.Close()
|
||||
|
||||
// Since we import with a prefix from above we can use that when creating our JS context.
|
||||
js, err := nc.JetStream(nats.ApiPrefix("dlc"))
|
||||
js, err := nc.JetStream(nats.APIPrefix("dlc"))
|
||||
if err != nil {
|
||||
t.Fatalf("Unexpected error: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user