Skip to content

Commit 940693d

Browse files
committed
Filter both http and http2 ports
1 parent a72b682 commit 940693d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/koyeb/services.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ func (h *ServiceHandler) setDefaultPortsAndRoutes(definition *koyeb.DeploymentDe
717717
httpPorts := []koyeb.DeploymentPort{}
718718

719719
for _, port := range currentPorts {
720-
if port.GetProtocol() == "http" {
720+
if port.GetProtocol() == "http" || port.GetProtocol() == "http2" {
721721
httpPorts = append(httpPorts, port)
722722
}
723723
}

0 commit comments

Comments
 (0)