mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-12-14 23:49:38 -05:00
Use term "attestation variant" consistently
This commit is contained in:
parent
e139eff552
commit
46e144d19b
5 changed files with 20 additions and 20 deletions
|
|
@ -71,7 +71,7 @@ func (a Client) DeleteAzureSEVSNPVersion(ctx context.Context, versionStr string)
|
|||
return executeAllCmds(ctx, a.s3Client, ops)
|
||||
}
|
||||
|
||||
// List returns the list of versions for the given attestation type.
|
||||
// List returns the list of versions for the given attestation variant.
|
||||
func (a Client) List(ctx context.Context, attestation variant.Variant) ([]string, error) {
|
||||
if attestation.Equal(variant.AzureSEVSNP{}) {
|
||||
versions, err := apiclient.Fetch(ctx, a.s3Client, AzureSEVSNPVersionList{})
|
||||
|
|
@ -80,7 +80,7 @@ func (a Client) List(ctx context.Context, attestation variant.Variant) ([]string
|
|||
}
|
||||
return versions, nil
|
||||
}
|
||||
return nil, fmt.Errorf("unsupported attestation type: %s", attestation)
|
||||
return nil, fmt.Errorf("unsupported attestation variant: %s", attestation)
|
||||
}
|
||||
|
||||
func (a Client) deleteAzureSEVSNPVersion(versions AzureSEVSNPVersionList, versionStr string) (ops []crudCmd, err error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue