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

List endpoint does not return status #16

Open
peterjaap opened this issue Mar 27, 2023 · 0 comments
Open

List endpoint does not return status #16

peterjaap opened this issue Mar 27, 2023 · 0 comments

Comments

@peterjaap
Copy link
Contributor

When I run hypernode-brancher --list on the Hypernode itself, I get;

app@pup1zl-clientname-magweb-cmbl:~$ hypernode-brancher --list
+-----------------+----------+------------------------------+---------+
|       Name      |    IP    |             Host             | Minutes |
+-----------------+----------+------------------------------+---------+
| clientname-ephm7idlb | Creating | clientname-ephm7idlb.hypernode.io |    2    |
+-----------------+----------+------------------------------+---------+

Here it says "Creating", but when I request it through the API, I get this;

+-------+-----------------+------+----------------------------------+----+----------+--------------+------------------+
| Id    | Name            | Cost | Created                          | Ip | End_time | Elapsed_time | Labels           |
+-------+-----------------+------+----------------------------------+----+----------+--------------+------------------+
| 15806 | clientname-ephm7idlb | 3    | 2023-03-27T17:01:38.760548+02:00 |    |          | 139          | 34-test-dit-eens |
+-------+-----------------+------+----------------------------------+----+----------+--------------+------------------+

It doesn't say "Creating" anywhere. Are you just assuming that it is "Creating" when no IP has been found yet? Or is it a separate value that isn't disclosed through the API?

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

No branches or pull requests

1 participant