1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-12-20 19:09:07 +01:00

Remove println statement

This commit is contained in:
Kristoffer Dalby 2021-11-21 09:48:59 +00:00
parent 1c7aff5dd9
commit f85a77edb5

View File

@ -449,11 +449,6 @@ func nodesToPtables(
online = pterm.LightRed("offline")
}
fmt.Printf(
"Machine %s, expiry: %s\n",
machine.Name,
expiry.Format("2006-01-02 15:04:05"),
)
var expired string
if expiry.IsZero() || expiry.After(time.Now()) {
expired = pterm.LightGreen("no")