Skip to content

Commit

Permalink
add omitempty flag
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Weiße <[email protected]>
  • Loading branch information
msanft and daniel-weisse authored Sep 22, 2023
1 parent 86a57fa commit 774b8b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -1121,7 +1121,7 @@ type AzureSEVSNP struct {
AMDRootKey Certificate `json:"amdRootKey" yaml:"amdRootKey"`
// description: |
// AMD Signing Key certificate used to verify the SEV-SNP VCEK / VLEK certificate.
AMDSigningKey Certificate `json:"amdSigningKey" yaml:"amdSigningKey" validate:"len=0"`
AMDSigningKey Certificate `json:"amdSigningKey,omitempty" yaml:"amdSigningKey,omitempty" validate:"len=0"`
}

// setWantLatestToFalse sets the WantLatest field to false for all versions in order to unmarshal the numerical versions instead of the string "latest".
Expand Down

0 comments on commit 774b8b1

Please sign in to comment.