From eae3d5c36b6bdf8ab97154c4beedde048e0bf709 Mon Sep 17 00:00:00 2001 From: Jonathan Hurter Date: Sat, 21 Nov 2020 16:55:03 +0100 Subject: [PATCH] Add AddonStatus on scalingo addons command Fix #603 --- addons/list.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/list.go b/addons/list.go index a2fca0947..6ecd12191 100644 --- a/addons/list.go +++ b/addons/list.go @@ -19,10 +19,10 @@ func List(app string) error { } t := tablewriter.NewWriter(os.Stdout) - t.SetHeader([]string{"Addon", "ID", "Plan"}) + t.SetHeader([]string{"Addon", "ID", "Plan", "Status"}) for _, resource := range resources { - t.Append([]string{resource.AddonProvider.Name, resource.ID, resource.Plan.Name}) + t.Append([]string{resource.AddonProvider.Name, resource.ID, resource.Plan.Name, string(resource.Status)}) } t.Render()