From d3092a22d499ea733ddf9be5dc492fb66e24e032 Mon Sep 17 00:00:00 2001 From: Andrew Walker Date: Wed, 24 Jul 2024 19:16:24 -0700 Subject: [PATCH] Add errno entry to exc_info in core.get_jobs schema A recent change to exc_info dictionary inside core.get_jobs output was not reflected in the returns decorator schema. --- src/middlewared/middlewared/service/core_service.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/middlewared/middlewared/service/core_service.py b/src/middlewared/middlewared/service/core_service.py index 180d5ea61921a..8545ca3f8f141 100644 --- a/src/middlewared/middlewared/service/core_service.py +++ b/src/middlewared/middlewared/service/core_service.py @@ -184,6 +184,7 @@ def __job_by_credential_and_id(self, credential, job_id): 'exc_info', Str('repr', null=True), Str('type', null=True), + Int('errno', null=True), Any('extra', null=True), null=True ),