1
0
mirror of https://github.com/smallstep/cli.git synced 2025-08-06 05:02:39 +03:00

This is tags now (cc @maraino @dcow)

This commit is contained in:
Sebastian Tiedtke
2020-03-12 20:46:55 -07:00
parent 2756490986
commit 46ff96b58d

View File

@@ -67,7 +67,7 @@ func hostsAction(ctx *cli.Context) error {
// Format in tab-separated columns with a tab stop of 8.
w.Init(os.Stdout, 0, 8, 0, '\t', 0)
fmt.Fprintln(w, "HOSTNAME\tID\tGROUPS")
fmt.Fprintln(w, "HOSTNAME\tID\tTAGS")
for _, h := range resp.Hosts {
groups := ""
for i, hg := range h.HostGroups {