Skip to content

Commit

Permalink
Merge 1fd1f89 into backport/fix-issuer-growing-list-maybe-from-vault/…
Browse files Browse the repository at this point in the history
…uniquely-master-falcon
  • Loading branch information
hc-github-team-consul-core committed Nov 17, 2022
2 parents eb217f5 + 1fd1f89 commit df5c4d9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions agent/connect/ca/provider_vault.go
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,11 @@ func (v *VaultProvider) GenerateIntermediate() (string, error) {
for issuer, key := range mapping {
if key != "" {
intermediateId = issuer

// Could be safe and check:
// importedIssuers := importResp.Data["imported_issuers"].([]string)
// and make sure this newly imported issuer is in the set of new unique
// issuers.
break
}
}
Expand Down

0 comments on commit df5c4d9

Please sign in to comment.