mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-29 18:33:05 +00:00
Minor fix
This commit is contained in:
parent
404fee8361
commit
c71c13366f
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ var ListNodesCmd = &cobra.Command{
|
||||||
log.Fatalf("Error getting nodes: %s", err)
|
log.Fatalf("Error getting nodes: %s", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Printf("name\tlast seen")
|
fmt.Printf("name\t\tlast seen\n")
|
||||||
for _, m := range *machines {
|
for _, m := range *machines {
|
||||||
fmt.Printf("%s\t%s\n", m.Name, m.LastSeen.Format("2006-01-02 15:04:05"))
|
fmt.Printf("%s\t%s\n", m.Name, m.LastSeen.Format("2006-01-02 15:04:05"))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue