mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-19 01:28:51 +02:00
zero: fix bootstrap config path
This commit is contained in:
parent
4193583301
commit
3ac74c68ca
7 changed files with 36 additions and 33 deletions
|
@ -12,7 +12,7 @@ type controllerConfig struct {
|
|||
otelEndpoint string
|
||||
|
||||
tmpDir string
|
||||
bootstrapConfigFileName string
|
||||
bootstrapConfigFileName *string
|
||||
|
||||
reconcilerLeaseDuration time.Duration
|
||||
databrokerRequestTimeout time.Duration
|
||||
|
@ -56,7 +56,7 @@ func WithAPIToken(token string) Option {
|
|||
// WithBootstrapConfigFileName sets the name of the file to store the bootstrap config in.
|
||||
func WithBootstrapConfigFileName(name string) Option {
|
||||
return func(c *controllerConfig) {
|
||||
c.bootstrapConfigFileName = name
|
||||
c.bootstrapConfigFileName = &name
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue