For all paths that are added in the default endpoint

Project: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/commit/5044dd41
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/tree/5044dd41
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/diff/5044dd41

Branch: refs/heads/master
Commit: 5044dd418a70788caa7d704017f18258578ce567
Parents: 733ed1b
Author: Thomas Jackson <[email protected]>
Authored: Mon Jan 12 10:52:18 2015 -0800
Committer: Thomas Jackson <[email protected]>
Committed: Mon Jan 12 10:52:18 2015 -0800

----------------------------------------------------------------------
 tsqa/endpoint.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver-qa/blob/5044dd41/tsqa/endpoint.py
----------------------------------------------------------------------
diff --git a/tsqa/endpoint.py b/tsqa/endpoint.py
index 9f9bc9b..1d18325 100644
--- a/tsqa/endpoint.py
+++ b/tsqa/endpoint.py
@@ -99,7 +99,7 @@ class DynamicHTTPEndpoint(threading.Thread):
             return ('', 404)
 
         # A little magic to make flask accept *all* methods on the catch_all 
path
-        for rule in self.app.url_map.iter_rules('hello'):
+        for rule in self.app.url_map.iter_rules():
             rule.methods = None
             rule.refresh()
 

Reply via email to