From 8ee1251a3a243ed8b3638ed9e166cee0cf57750b Mon Sep 17 00:00:00 2001 From: Ch3LL Date: Fri, 26 May 2017 15:25:26 -0400 Subject: [PATCH] Fix keep_jobs keyerror in redis returner --- salt/returners/redis_return.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/returners/redis_return.py b/salt/returners/redis_return.py index 013170635c..f531d64b58 100644 --- a/salt/returners/redis_return.py +++ b/salt/returners/redis_return.py @@ -113,7 +113,7 @@ def _get_serv(ret=None): def _get_ttl(): - return __opts__['keep_jobs'] * 3600 + return __opts__.get('keep_jobs', 24) * 3600 def returner(ret):