Skip to content

Commit bb0f148

Browse files
committed
chore(services): add domain display
1 parent d5c250f commit bb0f148

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cmd/services.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ func (d *DryccCmd) ServicesList(appID string) error {
2121
return err
2222
}
2323
if len(services) > 0 {
24-
table := d.getDefaultFormatTable([]string{"PTYPE", "NAME", "PORT", "PROTOCOL", "TARGET-PORT"})
24+
table := d.getDefaultFormatTable([]string{"PTYPE", "PORT", "PROTOCOL", "TARGET-PORT", "DOMAIN"})
2525
for _, service := range services {
2626
for _, port := range service.Ports {
2727
table.Append([]string{
2828
service.ProcfileType,
29-
port.Name,
3029
fmt.Sprint(port.Port),
3130
port.Protocol,
3231
fmt.Sprint(port.TargetPort),
32+
service.Domain,
3333
})
3434
}
3535
}

0 commit comments

Comments
 (0)