mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-02 03:33:05 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue