Skip authentication for version and healthcheck endpoints

Change-Id: I0d03464e275ed5724361a82425f5b7fd2a0a931e
Story: 2003799
Task: 26554
This commit is contained in:
zreigz 2018-09-24 09:44:20 +02:00 committed by Dobroslaw Zybort
parent 01740e584b
commit a1ccce728a

View File

@ -39,7 +39,7 @@ class SkippingAuthProtocol(auth_token.AuthProtocol):
def process_request(self, request):
path = request.path
for p in _SKIP_PATH:
if path.startswith(p):
if path.endswith(p):
LOG.debug(
('Request path is %s and it does not require keystone '
'communication'), path)