From 47d9bd1a3496f308bac5aa046beb86655c6e2751 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Fri, 17 May 2013 16:08:39 -0700 Subject: [PATCH] sentry_return: returner.connect_sentry() being called w/ too many args --- salt/returners/sentry_return.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/salt/returners/sentry_return.py b/salt/returners/sentry_return.py index 0e680389fb..d6072c29f1 100644 --- a/salt/returners/sentry_return.py +++ b/salt/returners/sentry_return.py @@ -70,15 +70,15 @@ def returner(ret): try: if 'success' not in ret: logger.debug('no success data, report') - connect_sentry(ret['return'], ret) + connect_sentry(ret['return']) else: if not ret['success']: logger.debug('not a success, report') - connect_sentry(ret['return'], ret) + connect_sentry(ret['return']) else: for state in ret['return']: if not ret['return'][state]['result'] and \ ret['return'][state]['comment'] != requisite_error: - connect_sentry(state, ret['return'][state]) + connect_sentry(state) except Exception as err: logger.error("Can't run connect_sentry: %s", err, exc_info=True)