Skip to content

Commit

Permalink
update after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
nullfunc committed Jun 27, 2024
1 parent 98f159c commit 7770d72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/cmd/cli/command/servicemonitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ import (
"context"

"github.com/DefangLabs/defang/src/pkg/cli"
"github.com/DefangLabs/defang/src/pkg/cli/compose"
"github.com/DefangLabs/defang/src/pkg/term"
defangv1 "github.com/DefangLabs/defang/src/protos/io/defang/v1"
)

func waitServiceStatus(ctx context.Context, targetStatus cli.ServiceStatus, serviceInfos []*defangv1.ServiceInfo) error {
serviceList := []string{}
for _, serviceInfo := range serviceInfos {
serviceList = append(serviceList, cli.NormalizeServiceName(serviceInfo.Service.Name))
serviceList = append(serviceList, compose.NormalizeServiceName(serviceInfo.Service.Name))
}

// set up service status subscription (non-blocking)
Expand Down
3 changes: 2 additions & 1 deletion src/protos/io/defang/v1/fabric.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7770d72

Please sign in to comment.