Skip to content

Commit

Permalink
rocsp-tool: remove ServiceConfig from config (#6061)
Browse files Browse the repository at this point in the history
ServiceConfig is only needed for components that act as gRPC services.
For rocsp-tool, which is a gRPC client but is long-running enough to
merit a debug port, we should provide DebugAddr in the config.
  • Loading branch information
jsha authored Apr 25, 2022
1 parent 29249b4 commit e4c1cf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/rocsp-tool/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import (

type Config struct {
ROCSPTool struct {
cmd.ServiceConfig
Redis rocsp_config.RedisConfig
DebugAddr string
Redis rocsp_config.RedisConfig
// Issuers is a map from filenames to short issuer IDs.
// Each filename must contain an issuer certificate. The short issuer
// IDs are arbitrarily assigned and must be consistent across OCSP
Expand Down

0 comments on commit e4c1cf2

Please sign in to comment.