jobdata: Use json to store args
Currently we dump args using pickle, which tries to pickle all objects.
This could fail between versions or even between instances (eg. with
different set of plugins). Let's just use safe json serialization
replacing unsafe objects with None to avoid unnecessary crashes while
still being able to make the safe information available.
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
Showing
想要评论请 注册 或 登录