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) 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"))
} }