Move the namespace argument back to a flag for the share and unshare

commands.
This commit is contained in:
Ward Vandewege 2021-10-27 17:51:42 -04:00
parent f9ece0087d
commit d086cf4691
2 changed files with 27 additions and 8 deletions

View file

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