We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 14125c5 + 4a8ec4d commit 4c475f0Copy full SHA for 4c475f0
cmd/rofl/build/build.go
@@ -249,7 +249,7 @@ var (
249
fmt.Println("Next time you can also use the --update-manifest flag to apply changes.")
250
case true:
251
// Update the manifest with the given enclave identities, overwriting existing ones.
252
- deployment.Policy.Enclaves = make([]sgx.EnclaveIdentity, len(ids))
+ deployment.Policy.Enclaves = make([]sgx.EnclaveIdentity, 0, len(ids))
253
for _, id := range ids {
254
deployment.Policy.Enclaves = append(deployment.Policy.Enclaves, id.Enclave)
255
}
0 commit comments