dexter has submitted this change. ( https://gerrit.osmocom.org/c/onomondo-eim/+/42883?usp=email )
Change subject: esipa_rest_utils: align IpaEuiccDataResponse to SGP.32 V.1.2 ......................................................................
esipa_rest_utils: align IpaEuiccDataResponse to SGP.32 V.1.2
The ASN.1 struct IpaEuiccDataResponse has renamed the error code member from ipaEuiccDataError to ipaEuiccDataErrorCode. The new ipaEuiccDataErrorCode is a sequence that has an ipaEuiccDataErrorCode member, which is the equivalent of the previously existing ipaEuiccDataError member.
See also: SGP.32, section 2.11.2.2
Change-Id: Ie734a09ed4b0d57de30dc6fb377dfada79ea2ae4 Related: SYS#8100 --- M src/esipa_rest_utils.erl 1 file changed, 2 insertions(+), 2 deletions(-)
Approvals: Jenkins Builder: Verified dexter: Looks good to me, approved laforge: Looks good to me, but someone else must approve
diff --git a/src/esipa_rest_utils.erl b/src/esipa_rest_utils.erl index 477cd7e..c5ff285 100644 --- a/src/esipa_rest_utils.erl +++ b/src/esipa_rest_utils.erl @@ -531,8 +531,8 @@ IpaEuiccDataJsonFiltered = {lists:filter(fun(Member) -> Member /= nil end, IpaEuiccDataJson)}, [{[{euiccDataResult, {[{edrResult, ok}, {euiccData, IpaEuiccDataJsonFiltered}]}}]}]; - {ipaEuiccDataError, IpaEuiccDataError} -> - [{[{euiccDataResult, {[{edrResult, IpaEuiccDataError}]}}]}]; + {ipaEuiccDataResponseError, #{ipaEuiccDataErrorCode := IpaEuiccDataErrorCode}} -> + [{[{euiccDataResult, {[{edrResult, IpaEuiccDataErrorCode}]}}]}]; _ -> [{[{euiccDataResult, {[{edrResult, undefinedError}]}}]}] end.