Yuvipanda has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/133171

Change subject: dynamicproxy: Remove some unused code
......................................................................

dynamicproxy: Remove some unused code

Change-Id: Iac15ba90de321c47648f6227e1403d397b8810cb
---
M modules/dynamicproxy/files/urlproxy.lua
1 file changed, 0 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/71/133171/1

diff --git a/modules/dynamicproxy/files/urlproxy.lua 
b/modules/dynamicproxy/files/urlproxy.lua
index c7247a9..e23f8f8 100644
--- a/modules/dynamicproxy/files/urlproxy.lua
+++ b/modules/dynamicproxy/files/urlproxy.lua
@@ -22,11 +22,6 @@
 
 local captures = ngx.re.match(ngx.var.uri, "^/([^/]*)(/.*)?$")
 
-if captures == ngx.null then
-    -- This would actually never happen, I'd think.
-    ngx.exit(500)
-end
-
 local prefix = captures[1]
 local rest = captures[2] or "/"
 local routes_arr = nil

-- 
To view, visit https://gerrit.wikimedia.org/r/133171
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iac15ba90de321c47648f6227e1403d397b8810cb
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Yuvipanda <yuvipa...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to