Skip to content

Commit

Permalink
modify the test to reflect the changes on the webinterface
Browse files Browse the repository at this point in the history
related to 2d44a1c99c17

Signed-off-by: Christian Heusel <[email protected]>
  • Loading branch information
christian-heusel authored and kradalby committed Jan 26, 2023
1 parent 9714900 commit 9f6e546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration/auth_web_flow_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ func (s *AuthWebFlowScenario) runHeadscaleRegister(userStr string, loginURL *url

if headscale, err := s.Headscale(); err == nil {
_, err = headscale.Execute(
[]string{"headscale", "-n", userStr, "nodes", "register", "--key", key},
[]string{"headscale", "nodes", "register", "--user", userStr, "--key", key},
)
if err != nil {
log.Printf("failed to register node: %s", err)
Expand Down

0 comments on commit 9f6e546

Please sign in to comment.