mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-15 05:49:05 +00:00
runtime: qemu: tdx: Add omitempty
to QuoteGenerationSocket
I know right now we're always passing a value for that, but this doesn't really have to be set unless attestation is used. Thus, let's also omit it in case it's empty. Signed-off-by: Fabiano Fidêncio <fabiano@fidencio.org>
This commit is contained in:
@@ -440,7 +440,7 @@ type TdxQomObject struct {
|
||||
MrConfigId string `json:"mrconfigid,omitempty"`
|
||||
MrOwner string `json:"mrowner,omitempty"`
|
||||
MrOwnerConfig string `json:"mrownerconfig,omitempty"`
|
||||
QuoteGenerationSocket SocketAddress `json:"quote-generation-socket"`
|
||||
QuoteGenerationSocket SocketAddress `json:"quote-generation-socket,omitempty"`
|
||||
Debug *bool `json:"debug,omitempty"`
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user