Merge "TrivialFix: Don't warn on legitimate all_projects usage"
This commit is contained in:
commit
aa2a5165e9
@ -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…
x
Reference in New Issue
Block a user