Add logout method to tsic
This commit is contained in:
parent
b54c0e3d22
commit
b7d7fc57c4
3 changed files with 11 additions and 1 deletions
|
@ -141,7 +141,7 @@ func TestAuthWebFlowLogoutAndRelogin(t *testing.T) {
|
|||
}
|
||||
|
||||
for _, client := range allClients {
|
||||
_, _, err = client.Execute([]string{"tailscale", "logout"})
|
||||
err := client.Logout()
|
||||
if err != nil {
|
||||
t.Errorf("failed to logout client %s: %s", client.Hostname(), err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue