Skip to content

Commit

Permalink
Fix bug setting PKI issuer enable_aia_url_templating to be set to fal…
Browse files Browse the repository at this point in the history
…se (#28832)
  • Loading branch information
victorr committed Nov 4, 2024
1 parent dac38c1 commit 37b9f82
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/logical/pki/path_fetch_issuers.go
Original file line number Diff line number Diff line change
Expand Up @@ -894,7 +894,7 @@ func (b *backend) pathPatchIssuer(ctx context.Context, req *logical.Request, dat
if enableTemplatingRaw, ok := data.GetOk("enable_aia_url_templating"); ok {
enableTemplating := enableTemplatingRaw.(bool)
if enableTemplating != issuer.AIAURIs.EnableTemplating {
issuer.AIAURIs.EnableTemplating = true
issuer.AIAURIs.EnableTemplating = enableTemplating
modified = true
}
}
Expand Down
4 changes: 4 additions & 0 deletions changelog/28832.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
```release-note:bug
secret/pki: Fix a bug that prevents PKI issuer field enable_aia_url_templating
to be set to false.
```

0 comments on commit 37b9f82

Please sign in to comment.