Skip to content

Commit

Permalink
IWF-121 remove all trailing / from worker url (#533)
Browse files Browse the repository at this point in the history
Co-authored-by: Nathan Givens <ngivens@indeed.com>
  • Loading branch information
N-give and Nathan Givens authored Jan 16, 2025
1 parent 5218a47 commit 5cce3b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions service/common/urlautofix/autofix.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ func DefaultFixWorkerUrlFunc(url string) string {
envVal := os.Getenv(autofixPortEnv)
url = strings.Replace(url, "$"+autofixPortEnv+"$", envVal, 1)
}
url = strings.TrimRight(url, "/")

return url
}

0 comments on commit 5cce3b6

Please sign in to comment.