Skip to content

Commit

Permalink
corrected comment
Browse files Browse the repository at this point in the history
Signed-off-by: Magnus Kaiser <magnus.kaiser@gec.io>
  • Loading branch information
Magnus Kaiser committed May 25, 2022
1 parent 2f38495 commit a8a25e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/receive/handler.go
Expand Up @@ -829,7 +829,7 @@ func (p *peerGroup) get(ctx context.Context, addr string) (storepb.WriteableStor
return client, nil
}

// GetTenantFromCertificate extracts the tenant value from a client's presented certificate. The x509 field to use as
// getTenantFromCertificate extracts the tenant value from a client's presented certificate. The x509 field to use as
// value can be configured with Options.TenantField. An error is returned when the extraction has not succeeded.
func (h *Handler) getTenantFromCertificate(r *http.Request) (string, error) {
var tenant string
Expand Down

0 comments on commit a8a25e3

Please sign in to comment.