Switch to named arguments for all nodes subcommands. Update docs

accordingly. Fix integration test failure.
This commit is contained in:
Ward Vandewege 2021-10-28 09:30:41 -04:00
parent 25c67cf2aa
commit f9187bdfc4
4 changed files with 37 additions and 37 deletions

View file

@ -493,7 +493,7 @@ func (s *IntegrationTestSuite) TestSharedNodes() {
result, err := executeCommand(
&headscale,
[]string{"headscale", "nodes", "share", fmt.Sprint(machine.ID), "--namespace", "main"},
[]string{"headscale", "nodes", "share", "--identifier", fmt.Sprint(machine.ID), "--namespace", "main"},
[]string{},
)
assert.Nil(s.T(), err)