remove fixed todo

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
Kristoffer Dalby 2022-10-24 14:58:02 +02:00
parent 8d46986a87
commit 76689c221d
No known key found for this signature in database

View File

@ -156,7 +156,6 @@ func (t *TailscaleInContainer) Up(
return nil return nil
} }
// TODO(kradalby): Make cached/lazy.
func (t *TailscaleInContainer) IPs() ([]netip.Addr, error) { func (t *TailscaleInContainer) IPs() ([]netip.Addr, error) {
if t.ips != nil && len(t.ips) != 0 { if t.ips != nil && len(t.ips) != 0 {
return t.ips, nil return t.ips, nil