TrivialFix: Don't warn on legitimate all_projects usage
Change-Id: Ida58aeb6825d0e317358ba6faa21f2f656ed202e
This commit is contained in:
parent
f641577d8a
commit
d96e0c4501
@ -91,9 +91,9 @@ class API(base.Base):
|
|||||||
'get_all_projects',
|
'get_all_projects',
|
||||||
do_raise=False
|
do_raise=False
|
||||||
)
|
)
|
||||||
LOG.warning("User %s not allowed to query locks across "
|
|
||||||
"all projects.", context.user_id)
|
|
||||||
if not allow_all_projects:
|
if not allow_all_projects:
|
||||||
|
LOG.warning("User %s not allowed to query locks "
|
||||||
|
"across all projects.", context.user_id)
|
||||||
search_opts.pop('all_projects')
|
search_opts.pop('all_projects')
|
||||||
search_opts.pop('project_id', None)
|
search_opts.pop('project_id', None)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user