Update command with new fields
This commit is contained in:
parent
06c928bc52
commit
79704dc9b0
|
@ -358,8 +358,8 @@ func nodesToPtables(
|
|||
tableData := pterm.TableData{
|
||||
{
|
||||
"ID",
|
||||
"Name",
|
||||
"Nickname",
|
||||
"Hostname",
|
||||
"Friendly name",
|
||||
"NodeKey",
|
||||
"Namespace",
|
||||
"IP addresses",
|
||||
|
@ -424,7 +424,7 @@ func nodesToPtables(
|
|||
[]string{
|
||||
strconv.FormatUint(machine.Id, headscale.Base10),
|
||||
machine.Name,
|
||||
machine.Nickname,
|
||||
machine.GivenName,
|
||||
nodeKey.ShortString(),
|
||||
namespace,
|
||||
strings.Join(machine.IpAddresses, ", "),
|
||||
|
|
Loading…
Reference in New Issue