From 5d7eae46f8defeb62ba38f9e57e622961c3b86a2 Mon Sep 17 00:00:00 2001 From: Juan Font Alonso Date: Fri, 4 Nov 2022 00:04:04 +0100 Subject: [PATCH] Always attempt to parse login url --- integration/tsic/tsic.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/integration/tsic/tsic.go b/integration/tsic/tsic.go index 68bc6827..627d5a83 100644 --- a/integration/tsic/tsic.go +++ b/integration/tsic/tsic.go @@ -170,10 +170,7 @@ func (t *TailscaleInContainer) UpWithLoginURL( t.hostname, } - _, stderr, err := t.Execute(command) - if err != errTailscaleNotLoggedIn { - return nil, errTailscaleCannotUpWithoutAuthkey - } + _, stderr, _ := t.Execute(command) urlStr := strings.ReplaceAll(stderr, "\nTo authenticate, visit:\n\n\t", "") urlStr = strings.TrimSpace(urlStr)