Skip to content

Commit 01eb00f

Browse files
authored
hotfix: added missing return value in endpoints (#118)
1 parent cc6d73e commit 01eb00f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internals/proxy/middlewares/endpoints.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func getEndpoints(endpoints []string) ([]string, []string) {
5555

5656
func matchesPattern(endpoint, pattern string) bool {
5757
ok, _ := path.Match(pattern, endpoint)
58-
return
58+
return ok
5959
}
6060

6161
func isBlocked(endpoint string, endpoints []string) bool {

0 commit comments

Comments
 (0)