NOISSUE - Fix attestation policy to JSON (#453)
CI / ci (push) Has been cancelled

This commit is contained in:
Danko Miladinovic
2025-06-17 17:12:28 +02:00
committed by GitHub
parent c9af8a166b
commit bd59a4a617
3 changed files with 33 additions and 3 deletions
+1 -1
View File
@@ -308,7 +308,7 @@ func changeAttestationConfiguration(fileName, base64Data string, expectedLength
return errAttestationPolicyField
}
fileJson, err := json.MarshalIndent(&ac, "", " ")
fileJson, err := attestation.ConvertAttestationPolicyToJSON(&ac)
if err != nil {
return errors.Wrap(errMarshalJSON, err)
}