diff --git a/deployment/deployment.go b/deployment/deployment.go index 88324010f..141136586 100644 --- a/deployment/deployment.go +++ b/deployment/deployment.go @@ -10,8 +10,8 @@ import ( var ( tab = printutil.Table{ - Padding: []int{30, 50, 50}, - Header: []string{"NAME", "RELEASE NAME", "DEPLOYMENT ID"}, + Padding: []int{30, 30, 10, 50}, + Header: []string{"NAME", "RELEASE NAME", "CHART", "DEPLOYMENT ID"}, } ) @@ -32,7 +32,7 @@ func Create(label, ws string) error { if err != nil { return err } - tab.AddRow([]string{d.Label, d.ReleaseName, d.Id}, false) + tab.AddRow([]string{d.Label, d.ReleaseName, d.Version, d.Id}, false) tab.SuccessMsg = "\n Successfully created deployment. Deployment can be accessed at the following URLs \n" + fmt.Sprintf("\n Airflow Dashboard: https://%s-airflow.%s", d.ReleaseName, c.Domain) + fmt.Sprintf("\n Flower Dashboard: https://%s-flower.%s", d.ReleaseName, c.Domain) @@ -93,7 +93,7 @@ func List(ws string, all bool) error { ws = d.Workspace.Uuid } - tab.AddRow([]string{d.Label, d.ReleaseName, d.Id}, false) + tab.AddRow([]string{d.Label, d.ReleaseName, d.Version, d.Id}, false) } tab.Print() @@ -115,7 +115,7 @@ func Update(uuid string, args map[string]string) error { d := r.Data.UpdateDeployment - tab.AddRow([]string{d.Label, d.ReleaseName, d.Id}, false) + tab.AddRow([]string{d.Label, d.ReleaseName, d.Version, d.Id}, false) tab.SuccessMsg = "\n Successfully updated deployment" tab.Print()