From 73928412b300cbf3deeaf96efd1e4816bc7d2799 Mon Sep 17 00:00:00 2001 From: licanwei Date: Mon, 12 Mar 2018 21:03:12 -0700 Subject: [PATCH] ignore useless WARNING log message remove the useless 'project' filed in context Change-Id: I0d00969dd4b993dfbe6f4623c27457ed2589ae3f Closes-Bug: #1755347 --- watcher/common/context.py | 1 + 1 file changed, 1 insertion(+) diff --git a/watcher/common/context.py b/watcher/common/context.py index 741f307c7..79da28d5c 100644 --- a/watcher/common/context.py +++ b/watcher/common/context.py @@ -62,6 +62,7 @@ class RequestContext(context.RequestContext): # safely ignore this as we don't use it. kwargs.pop('user_identity', None) kwargs.pop('global_request_id', None) + kwargs.pop('project', None) if kwargs: LOG.warning('Arguments dropped when creating context: %s', str(kwargs))