Skip to content

Commit 98108bf

Browse files
committed
BUG: Adds httpsPort as a valid serviceDest
1 parent 9635347 commit 98108bf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

proxy/types.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,8 @@ func isServiceDestValid(provider ServiceParameterProvider, index int) bool {
510510
hasPath := len(provider.GetString(fmt.Sprintf("servicePath%s", suffix))) > 0
511511
hasPort := len(provider.GetString(fmt.Sprintf("port%s", suffix))) > 0
512512
hasDomain := len(provider.GetString(fmt.Sprintf("serviceDomain%s", suffix))) > 0
513-
return hasPath || hasPort || hasDomain
513+
hasHttpsPort := len(provider.GetString(fmt.Sprintf("httpsPort%s", suffix))) > 0
514+
return hasPath || hasPort || hasDomain || hasHttpsPort
514515
}
515516

516517
func getBoolParam(req ServiceParameterProvider, param, index string) bool {

0 commit comments

Comments
 (0)