Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
yangminzhu committed Feb 4, 2021
1 parent 18003c5 commit 5d9b0ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var (
trustDomain = "cluster.local"
)

// newIdentity creates http response with prefix and SpiffeID.
// newIdentity returns the Istio mTLS identity with a custom prefix.
func newIdentity(prefix, ns, sa string) string {
return prefix + "spiffe://" + trustDomain + "/ns/" + ns + "/sa/" + sa
}
Expand Down

0 comments on commit 5d9b0ae

Please sign in to comment.