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

"normal" zerotier-one build returns "controller": true from API endpoint #1

Open
sarnold opened this issue Jan 27, 2020 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@sarnold
Copy link

sarnold commented Jan 27, 2020

One might assume that only the "controller" build would return True but both builds return the same result from a GET command against http://localhost:9993/controller

Steps to reproduce:

  1. Build zerotier both ways, install each package one at a time and start zerotier;
  2. For each package do:
curl -X GET --header "X-ZT1-Auth: <zt_auth_token>" http://localhost:9993/controller
  1. See the output
{
        "controller": true,
        "apiVersion": 4,
        "clock": 1580159810075,
        "databaseReady": true
}

Expected result:

True for the controller build, otherwise False.

@sarnold sarnold added the bug Something isn't working label Jan 27, 2020
@sarnold sarnold self-assigned this Jan 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant