mirror of
				https://github.com/juanfont/headscale.git
				synced 2025-10-28 10:51:44 +01:00 
			
		
		
		
	Merge pull request #687 from huskyii/node_ls
more intuitive output of node ls
This commit is contained in:
		
						commit
						0212db3fad
					
				| @ -35,6 +35,7 @@ | ||||
| - Drop Gin as web framework in Headscale [648](https://github.com/juanfont/headscale/pull/648) [677](https://github.com/juanfont/headscale/pull/677) | ||||
| - Make tailnet node updates check interval configurable [#675](https://github.com/juanfont/headscale/pull/675) | ||||
| - Fix regression with HTTP API [#684](https://github.com/juanfont/headscale/pull/684) | ||||
| - nodes ls now print both Hostname and Name(Issue [#647](https://github.com/juanfont/headscale/issues/647) PR [#687](https://github.com/juanfont/headscale/pull/687)) | ||||
| 
 | ||||
| ## 0.15.0 (2022-03-20) | ||||
| 
 | ||||
|  | ||||
| @ -465,6 +465,7 @@ func nodesToPtables( | ||||
| ) (pterm.TableData, error) { | ||||
| 	tableHeader := []string{ | ||||
| 		"ID", | ||||
| 		"Hostname", | ||||
| 		"Name", | ||||
| 		"NodeKey", | ||||
| 		"Namespace", | ||||
| @ -566,6 +567,7 @@ func nodesToPtables( | ||||
| 		nodeData := []string{ | ||||
| 			strconv.FormatUint(machine.Id, headscale.Base10), | ||||
| 			machine.Name, | ||||
| 			machine.GetGivenName(), | ||||
| 			nodeKey.ShortString(), | ||||
| 			namespace, | ||||
| 			strings.Join([]string{IPV4Address, IPV6Address}, ", "), | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user