Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jakule authored and github-actions committed Jun 30, 2022
1 parent be72e33 commit 39dff37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/cache/collections.go
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,8 @@ func (c *certAuthority) fetch(ctx context.Context) (apply func(ctx context.Conte

// DELETE IN 11.0.
// missingDatabaseCA is needed only when leaf cluster v9 is connected
// to root cluster v10.
// to root cluster v10. Database CA has been added in v10, so older
// clusters don't have it and fetchCertAuthorities() returns an error.
missingDatabaseCA := false
applyDatabaseCAs, err := c.fetchCertAuthorities(ctx, types.DatabaseCA)
if trace.IsBadParameter(err) {
Expand Down

0 comments on commit 39dff37

Please sign in to comment.