Skip to content

Commit

Permalink
Update backend/src/common/util/service.go
Browse files Browse the repository at this point in the history
Signed-off-by: Humair Khan <[email protected]>

Co-authored-by: Humair Khan <[email protected]>
  • Loading branch information
hbelmiro and HumairAK authored Nov 4, 2024
1 parent bd4acf7 commit b2db6ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/common/util/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func GetRpcConnection(address string, tlsEnabled bool, caCertPath string) (*grpc

caCert, err := os.ReadFile(caCertPath)
if err != nil {
return nil, errors.Wrap(err, "metadata.NewClient() failed")
return nil, errors.Wrap(err, "Encountered error when reading CA cert path for creating a metadata client.")
}
caCertPool := x509.NewCertPool()
caCertPool.AppendCertsFromPEM(caCert)
Expand Down

0 comments on commit b2db6ba

Please sign in to comment.