Skip to content

Commit

Permalink
hide containerApp for exposes services for prev4 (#3444)
Browse files Browse the repository at this point in the history
  • Loading branch information
vhvb1989 authored Feb 27, 2024
1 parent 3ac3f95 commit 61b9419
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cli/azd/pkg/apphost/service_ingress_configurer.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ func NewIngressSelector(manifest *Manifest, console input.Console) *IngressSelec
func (adc *IngressSelector) SelectPublicServices(ctx context.Context) ([]string, error) {
var services []string
for name, res := range adc.manifest.Resources {
if (res.Type == "container.v0" || res.Type == "project.v0" || res.Type == "dockerfile.v0") && len(res.Bindings) > 0 {
// "container.v0" not supported on aspire-prev4
// see: https://github.com/Azure/azure-dev/issues/3441
if (res.Type == "project.v0" || res.Type == "dockerfile.v0") && len(res.Bindings) > 0 {
services = append(services, name)
}
}
Expand Down

0 comments on commit 61b9419

Please sign in to comment.