Skip to content

Commit 42e5b83

Browse files
committed
Hide stashed deployments from the list
Later, we'll introduce a new commands to display stashed deployments.
1 parent a526a88 commit 42e5b83

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/koyeb/deployments_list.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ func (r *ListDeploymentsReply) Fields() []map[string]string {
9999
}
100100

101101
for _, item := range items {
102+
if item.GetStatus() == koyeb.DEPLOYMENTSTATUS_STASHED {
103+
continue
104+
}
105+
102106
fields := map[string]string{
103107
"id": renderer.FormatID(item.GetId(), r.full),
104108
"service": renderer.FormatServiceSlug(r.mapper, item.GetServiceId(), r.full),

0 commit comments

Comments
 (0)