From 3fc5866de0f2e843c4cb42f320465c06a20e998e Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Mon, 14 Nov 2022 09:14:53 +0100 Subject: [PATCH] Remove duplicate function Signed-off-by: Kristoffer Dalby --- integration/tsic/tsic.go | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/integration/tsic/tsic.go b/integration/tsic/tsic.go index 712ad34d..16e6868f 100644 --- a/integration/tsic/tsic.go +++ b/integration/tsic/tsic.go @@ -176,19 +176,6 @@ func (t *TailscaleInContainer) Version() string { return t.version } -func (t *TailscaleInContainer) WaitForReady() error { - return t.pool.Retry(func() error { - // If tailscaled has not started yet, this will return a non-zero - // status code - _, err := t.Execute([]string{"tailscale", "status"}) - if err != nil { - return err - } - - return nil - }) -} - func (t *TailscaleInContainer) Execute( command []string, ) (string, string, error) {