Don't log about no notification on GET requests

The pecan notifier hook was logging on every GET request
that it wasn't doing anything, which led to excessive logging.
This just eliminates it.

TrivialFix

Change-Id: Ie1262b54595f40f69c6859a09850845826ee8f14
This commit is contained in:
Kevin Benton 2017-06-12 20:19:40 -07:00
parent 31d24b4e1a
commit 79d7f76964
1 changed files with 0 additions and 1 deletions

View File

@ -66,7 +66,6 @@ class NotifierHook(hooks.PecanHook):
return
action = pecan_constants.ACTION_MAP.get(state.request.method)
if not action or action not in ('create', 'update', 'delete'):
LOG.debug("No notification will be sent for action: %s", action)
return
if utils.is_member_action(utils.get_controller(state)):
return