Skip to content

Commit

Permalink
  • Loading branch information
ChandraPrakash committed Nov 27, 2018
1 parent 6ceee9c commit 349f23f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/kube/wrappers/ingress-wrapper.go
Expand Up @@ -58,14 +58,14 @@ func (iw *IngressWrapper) getIngressSubPathWithPort() string {
port := iw.getIngressPort()
subPath := iw.getIngressSubPath()

if port != nil {
if subPath != nil {
if port != "" {
if subPath != "" {
return port + subPath
} else {
return port + "/"
}
} else {
if subPath != nil {
if subPath != "" {
return "80" + subPath
} else {
return "80/"
Expand Down

0 comments on commit 349f23f

Please sign in to comment.