Skip to content

Commit

Permalink
feat: LMGR-663: zhmcclient json.marshal error for domainIdx is 0 (#14)
Browse files Browse the repository at this point in the history
Signed-off-by: zhangli <bjzhangl@cn.ibm.com>
  • Loading branch information
bjzhangl committed Nov 23, 2023
1 parent d62807d commit 4d04b40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/zhmcclient/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4d04b40

Please sign in to comment.