mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-26 17:03:06 +00:00
Remove duplicate function
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
parent
f3c40086ac
commit
3fc5866de0
1 changed files with 0 additions and 13 deletions
|
@ -176,19 +176,6 @@ func (t *TailscaleInContainer) Version() string {
|
||||||
return t.version
|
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(
|
func (t *TailscaleInContainer) Execute(
|
||||||
command []string,
|
command []string,
|
||||||
) (string, string, error) {
|
) (string, string, error) {
|
||||||
|
|
Loading…
Reference in a new issue