Skip to content

Commit

Permalink
fix(pki): use url-compliant variable names for crt parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
streambinder committed Jul 20, 2022
1 parent c2560ac commit e2a763f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pki/crt.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ func NewRequest(options map[string]any) Request {
if locality, ok := options["locality"]; ok {
req.Locality = locality.(string)
}
if streetAddress, ok := options["streetAddress"]; ok {
if streetAddress, ok := options["street_address"]; ok {
req.StreetAddress = streetAddress.(string)
}
if postalCode, ok := options["postalCode"]; ok {
if postalCode, ok := options["postal_code"]; ok {
req.PostalCode = postalCode.(string)
}
if hosts, ok := options["hosts"]; ok {
Expand Down

0 comments on commit e2a763f

Please sign in to comment.