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

.machines() not working - bad URL #52

Open
KiNgMaR opened this issue Jan 12, 2016 · 0 comments
Open

.machines() not working - bad URL #52

KiNgMaR opened this issue Jan 12, 2016 · 0 comments

Comments

@KiNgMaR
Copy link

KiNgMaR commented Jan 12, 2016

Using node-etcd "4.2.1" and etcd "2.2.3":

etcd.machines(console.log);

{ [Error: Key not found]
  errorCode: 100,
  error:
   { errorCode: 100,
     message: 'Key not found',
     cause: '/_etcd',
     index: 14 } } '' { 'content-type': 'application/json',
  'x-etcd-cluster-id': 'xxx',
  'x-etcd-index': '14',
  date: 'Tue, 12 Jan 2016 14:54:07 GMT',
  'content-length': '72' }

After changing the URL to "machines" instead of "keys/_etcd/machines" it's working - although I don't know whether the response format still is the same. Judging from this: etcd-io/etcd#1279 it changed around etcd v0.5.0.

Thanks for looking into it.

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

No branches or pull requests

1 participant