Skip to content

Commit

Permalink
fix: enclave name in error message (#1942)
Browse files Browse the repository at this point in the history
We were printing a pointer instead of the name

Co-authored-by: leoporoli <leandroporoli@gmail.com>
  • Loading branch information
h4ck3rk3y and leoporoli committed Dec 13, 2023
1 parent 846efb1 commit 4754073
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -189,7 +189,7 @@ func (service *EngineConnectServerService) CreateEnclave(ctx context.Context, co
isProduction,
)
if err != nil {
return nil, stacktrace.Propagate(err, "An error occurred creating new enclave with name '%v'", args.EnclaveName)
return nil, stacktrace.Propagate(err, "An error occurred creating new enclave with name '%v'", args.GetEnclaveName())
}

grpcEnclaveInfo := toGrpcEnclaveInfo(*enclaveInfo)
Expand Down

0 comments on commit 4754073

Please sign in to comment.