mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-22 16:07:34 +00:00
modify the test to reflect the changes on the webinterface
related to 2d44a1c99c17 Signed-off-by: Christian Heusel <christian@heusel.eu>
This commit is contained in:
parent
9714900db9
commit
9f6e546522
@ -335,7 +335,7 @@ func (s *AuthWebFlowScenario) runHeadscaleRegister(userStr string, loginURL *url
|
|||||||
|
|
||||||
if headscale, err := s.Headscale(); err == nil {
|
if headscale, err := s.Headscale(); err == nil {
|
||||||
_, err = headscale.Execute(
|
_, err = headscale.Execute(
|
||||||
[]string{"headscale", "-n", userStr, "nodes", "register", "--key", key},
|
[]string{"headscale", "nodes", "register", "--user", userStr, "--key", key},
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("failed to register node: %s", err)
|
log.Printf("failed to register node: %s", err)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user