Skip to content

Commit

Permalink
Create an output writer per pool
Browse files Browse the repository at this point in the history
  • Loading branch information
fulviodenza committed Aug 21, 2024
1 parent 8a5fa36 commit d9c7018
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/kubernetes/kubernetes_nodepool_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ var kubernetesNodePoolListCmd = &cobra.Command{
ow := utility.NewOutputWriter()

for _, pool := range cluster.RequiredPools {
ow = utility.NewOutputWriter()
fmt.Println()
ow.WriteHeader(fmt.Sprintf("Node Pool %s", pool.ID))
ow.AppendDataWithLabel("ID", pool.ID, "Name")
Expand Down

0 comments on commit d9c7018

Please sign in to comment.