diff --git a/inventory_provider/tasks/common.py b/inventory_provider/tasks/common.py index 292800572d841b3474714e68750faeeb3108dc63..2d7f699f250d08a5db6fa344896fdf20712cb159 100644 --- a/inventory_provider/tasks/common.py +++ b/inventory_provider/tasks/common.py @@ -203,9 +203,3 @@ def get_next_redis(config): 'derived next id: {}'.format(next_id)) return _get_redis(config, next_id) - - -def save_task_log(config, log): - jsonschema.validate(log, TASK_LOG_SCHEMA) - r = get_current_redis(config) - r.set(f'db:log:{log["meta"]["id"]}', json.dumps(log))