Skip to content

Commit

Permalink
Merge pull request #998 from hemkapoor/odim-6497
Browse files Browse the repository at this point in the history
odim-6497: Add omitempty for odatatype in storage controller struct
  • Loading branch information
shivacharanms authored Aug 26, 2022
2 parents 751b51e + 75246f2 commit fe2d093
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib-dmtf/model/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ type StorageControllers struct {
Oid string `json:"@odata.id"`
ODataContext string `json:"@odata.context,omitempty"`
ODataEtag string `json:"@odata.etag,omitempty"`
ODataType string `json:"@odata.type"`
ODataType string `json:"@odata.type,omitempty"`
AssetTag string `json:"AssetTag,omitempty"`
FirmwareVersion string `json:"FirmwareVersion,omitempty"`
Manufacturer string `json:"Manufacturer,omitempty"`
Expand Down

0 comments on commit fe2d093

Please sign in to comment.