Skip to content

Commit 96f3939

Browse files
committed
remove BYOD warning for playground
1 parent 1112383 commit 96f3939

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/pkg/cli/client/playground.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import (
44
"context"
55
"errors"
66

7-
"github.com/DefangLabs/defang/src/pkg/term"
87
"github.com/DefangLabs/defang/src/pkg/types"
98
defangv1 "github.com/DefangLabs/defang/src/protos/io/defang/v1"
109
"github.com/bufbuild/connect-go"
@@ -26,12 +25,6 @@ func (g PlaygroundClient) Update(ctx context.Context, req *defangv1.Service) (*d
2625
}
2726

2827
func (g PlaygroundClient) Deploy(ctx context.Context, req *defangv1.DeployRequest) (*defangv1.DeployResponse, error) {
29-
// TODO: remove this when playground supports BYOD
30-
for _, service := range req.Services {
31-
if service.Domainname != "" {
32-
term.Warnf("Defang provider does not support the domainname field for now, service: %v, domain: %v", service.Name, service.Domainname)
33-
}
34-
}
3528
return getMsg(g.client.Deploy(ctx, connect.NewRequest(req)))
3629
}
3730

0 commit comments

Comments
 (0)