From a2b431010fd5aea6cba17e417b875eda4d243f4d Mon Sep 17 00:00:00 2001 From: zhangli Date: Wed, 22 Nov 2023 14:08:44 +0800 Subject: [PATCH] feat: LMGR-663: zhmcclient json.marshal error for domainIdx is 0 Signed-off-by: zhangli --- pkg/zhmcclient/model.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/zhmcclient/model.go b/pkg/zhmcclient/model.go index 052c9d9..1e10ebd 100644 --- a/pkg/zhmcclient/model.go +++ b/pkg/zhmcclient/model.go @@ -1159,8 +1159,8 @@ type AsciiConsoleURIResponse struct { // SSC crypto DomainInfo added as a substructure of CryptoConfig structure type DomainInfo struct { - DomainIdx int `json:"domain-index,omitempty"` - AccessMode string `json:"access-mode,omitempty"` + DomainIdx int `json:"domain-index"` + AccessMode string `json:"access-mode"` } // SSC crypto-configuration object properties added to Support Crypto Card working