Skip to content

Commit

Permalink
Fixed #17 with caddy admin. During reload multiple workdir usage was …
Browse files Browse the repository at this point in the history
…detected (part2)
  • Loading branch information
FlorianRoettges committed Oct 17, 2024
1 parent ebce945 commit edba995
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions RevocationCheckerRepository.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ func (c *RevocationCheckerRepository) Provision(ctx caddy.Context, logger *zap.L
defer c.repositoryMutex.Unlock()
entry := c.crlRevocationCheckerRepository[config.ConfigHash]
if entry == nil {
logger.Info("starting provision of revocation config id: " + config.ConfigHash)
checker := &RevocationChecker{}
err := checker.Provision(ctx, logger, config)
if err != nil {
Expand Down

0 comments on commit edba995

Please sign in to comment.