Skip to content

Commit caffc19

Browse files
committed
app describe: display the service type
1 parent e26751c commit caffc19

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/koyeb/services_list.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ func (r *ListServicesReply) MarshalBinary() ([]byte, error) {
8585
}
8686

8787
func (r *ListServicesReply) Headers() []string {
88-
return []string{"id", "app", "name", "status", "created_at"}
88+
return []string{"id", "app", "name", "type", "status", "created_at"}
8989
}
9090

9191
func (r *ListServicesReply) Fields() []map[string]string {
@@ -97,6 +97,7 @@ func (r *ListServicesReply) Fields() []map[string]string {
9797
"id": renderer.FormatID(item.GetId(), r.full),
9898
"app": renderer.FormatAppName(r.mapper, item.GetAppId(), r.full),
9999
"name": item.GetName(),
100+
"type": string(item.GetType()),
100101
"status": formatServiceStatus(item.GetStatus()),
101102
"created_at": renderer.FormatTime(item.GetCreatedAt()),
102103
}

0 commit comments

Comments
 (0)