diff --git a/zvmsdk/sdkwsgi/handlers/tokens.py b/zvmsdk/sdkwsgi/handlers/tokens.py index 401568447..7edff2a02 100644 --- a/zvmsdk/sdkwsgi/handlers/tokens.py +++ b/zvmsdk/sdkwsgi/handlers/tokens.py @@ -62,7 +62,7 @@ def create(req): return req.response # Validation is open, so start to validate the admin-token if 'X-Admin-Token' not in req.headers: - LOG.debug('no X-Admin-Token given in reqeust header') + LOG.debug('no X-Admin-Token given in request header') raise exception.ZVMUnauthorized() token_file_path = CONF.wsgi.token_path admin_token = get_admin_token(token_file_path) @@ -96,7 +96,7 @@ def wrap_func(req, *args, **kwargs): # so, this is for token validation if 'X-Auth-Token' not in req.headers: - LOG.debug('no X-Auth-Token given in reqeust header') + LOG.debug('no X-Auth-Token given in request header') raise exception.ZVMUnauthorized() token_file_path = CONF.wsgi.token_path @@ -110,7 +110,7 @@ def wrap_func(req, *args, **kwargs): LOG.debug('token not valid') raise exception.ZVMUnauthorized() except Exception: - LOG.debug('unknown exception occur during token validation') + LOG.debug('unknown exception occurred during token validation') raise exception.ZVMUnauthorized() return function(req, *args, **kwargs)