fix(pia): remove duplicate log of pf data expiration

This commit is contained in:
Quentin McGaw
2022-06-09 16:34:28 +00:00
parent 5359257c65
commit 46e6bd16c9

View File

@@ -62,8 +62,6 @@ func (p *Provider) PortForward(ctx context.Context, client *http.Client,
if expired { if expired {
logger.Warn("Forwarded port data expired on " + logger.Warn("Forwarded port data expired on " +
data.Expiration.Format(time.RFC1123) + ", getting another one") data.Expiration.Format(time.RFC1123) + ", getting another one")
} else {
logger.Info("Forwarded port data expires in " + format.FriendlyDuration(durationToExpiration))
} }
} }