mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-08 01:05:16 -04:00
fix: Azure SEV-SNP version always gets overwritten by latest API versions (#1930)
* fix that manual version gets overwritten by latest * put azure in seperate config file * otto feedback
This commit is contained in:
parent
c1f9d86cd3
commit
c5f75513b1
6 changed files with 202 additions and 142 deletions
|
@ -22,16 +22,16 @@ func TestVersionMarshalYAML(t *testing.T) {
|
|||
{
|
||||
name: "isLatest resolves to latest",
|
||||
sut: AttestationVersion{
|
||||
Value: 1,
|
||||
IsLatest: true,
|
||||
Value: 1,
|
||||
WantLatest: true,
|
||||
},
|
||||
want: "latest\n",
|
||||
},
|
||||
{
|
||||
name: "value 5 resolves to 5",
|
||||
sut: AttestationVersion{
|
||||
Value: 5,
|
||||
IsLatest: false,
|
||||
Value: 5,
|
||||
WantLatest: false,
|
||||
},
|
||||
want: "5\n",
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue