Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
karl-johan-grahn committed Dec 16, 2024
1 parent 4f35b3b commit 9a7b066
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/kube/wrappers/routeWrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,9 @@ func (rw *RouteWrapper) GetURL(forceHttps bool, healthEndpoint string) string {
} else {
URL = rw.getHost() // Fallback for normal Host
}
log.Info(fmt.Sprintf("URL: %s", URL))

// Convert url to url object
u, err := url.Parse(URL)
log.Info(fmt.Sprintf("u.Path: %s", u.Path))
log.Info(fmt.Sprintf("rw.getRouteSubPath(): %s", rw.getRouteSubPath()))

if err != nil {
Expand All @@ -132,5 +130,6 @@ func (rw *RouteWrapper) GetURL(forceHttps bool, healthEndpoint string) string {
u.Path = path.Join(u.EscapedPath(), healthEndpoint)
}
}
log.Info(fmt.Sprintf("u.String(): %s", u.String())

Check failure on line 133 in pkg/kube/wrappers/routeWrapper.go

View workflow job for this annotation

GitHub Actions / Pull Request

syntax error: unexpected newline in argument list; possibly missing comma or )

Check failure on line 133 in pkg/kube/wrappers/routeWrapper.go

View workflow job for this annotation

GitHub Actions / Pull Request

syntax error: unexpected newline in argument list; possibly missing comma or )

Check failure on line 133 in pkg/kube/wrappers/routeWrapper.go

View workflow job for this annotation

GitHub Actions / Pull Request

missing ',' before newline in argument list (typecheck)

Check failure on line 133 in pkg/kube/wrappers/routeWrapper.go

View workflow job for this annotation

GitHub Actions / Test

missing ',' before newline in argument list
return u.String()

Check failure on line 134 in pkg/kube/wrappers/routeWrapper.go

View workflow job for this annotation

GitHub Actions / Pull Request

syntax error: unexpected return at end of statement) (typecheck)

Check failure on line 134 in pkg/kube/wrappers/routeWrapper.go

View workflow job for this annotation

GitHub Actions / Pull Request

syntax error: unexpected return at end of statement (typecheck)

Check failure on line 134 in pkg/kube/wrappers/routeWrapper.go

View workflow job for this annotation

GitHub Actions / Pull Request

expected operand, found 'return' (typecheck)

Check failure on line 134 in pkg/kube/wrappers/routeWrapper.go

View workflow job for this annotation

GitHub Actions / Test

expected operand, found 'return'

Check failure on line 134 in pkg/kube/wrappers/routeWrapper.go

View workflow job for this annotation

GitHub Actions / Test

missing ',' in argument list

Check failure on line 134 in pkg/kube/wrappers/routeWrapper.go

View workflow job for this annotation

GitHub Actions / Test

missing ',' before newline in argument list
}

Check failure on line 135 in pkg/kube/wrappers/routeWrapper.go

View workflow job for this annotation

GitHub Actions / Pull Request

expected operand, found '}' (typecheck)

Check failure on line 135 in pkg/kube/wrappers/routeWrapper.go

View workflow job for this annotation

GitHub Actions / Test

expected operand, found '}'

Check failure on line 135 in pkg/kube/wrappers/routeWrapper.go

View workflow job for this annotation

GitHub Actions / Test

expected ')', found 'EOF'

Check failure on line 135 in pkg/kube/wrappers/routeWrapper.go

View workflow job for this annotation

GitHub Actions / Test

expected ';', found 'EOF'

Check failure on line 135 in pkg/kube/wrappers/routeWrapper.go

View workflow job for this annotation

GitHub Actions / Test

expected ';', found 'EOF'

Check failure on line 135 in pkg/kube/wrappers/routeWrapper.go

View workflow job for this annotation

GitHub Actions / Test

expected '}', found 'EOF'

Check failure on line 135 in pkg/kube/wrappers/routeWrapper.go

View workflow job for this annotation

GitHub Actions / Test

missing ',' in argument list

0 comments on commit 9a7b066

Please sign in to comment.