Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing cluster in interface #132

Closed
huineng opened this issue Mar 26, 2021 · 0 comments · Fixed by #137
Closed

missing cluster in interface #132

huineng opened this issue Mar 26, 2021 · 0 comments · Fixed by #137
Assignees

Comments

@huineng
Copy link

huineng commented Mar 26, 2021

https://github.com/nats-io/nats.js/blob/b4aa05892adef39f1247a6d1cd4b779580291f68/index.d.ts#L105

the interface is missing the value
cluster?: string

i can see that value when i do console.info(ServerInfo)

{
  server_id: 'NATX4TWMDO3P4GX3FIVVP45KRFZH3VHHDQBK2JDXGUX',
  server_name: 'NAP4ACXP7KYTHBRI75KRFZH3VHHDQBK2JDXGUX',
  version: '2.2.0',
  proto: 1,
  git_commit: '0e3c723',
  go: 'go1.16.2',
  host: '0.0.0.0',
  port: 4222,
  headers: true,
  auth_required: true,
  max_payload: 1048576,
  client_id: 158,
  client_ip: '10.15.7.0',
  cluster: 'nats-cluster'
}

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants