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

Minor fix

This commit is contained in:
Juan Font Alonso 2021-05-01 20:04:03 +02:00
parent 404fee8361
commit c71c13366f

View File

@ -53,7 +53,7 @@ var ListNodesCmd = &cobra.Command{
log.Fatalf("Error getting nodes: %s", err)
}
fmt.Printf("name\tlast seen")
fmt.Printf("name\t\tlast seen\n")
for _, m := range *machines {
fmt.Printf("%s\t%s\n", m.Name, m.LastSeen.Format("2006-01-02 15:04:05"))
}