Add EnterpriseConfig stubs (#6566)
This commit is contained in:
parent
cfa879d63c
commit
9bd378a95c
|
@ -424,6 +424,9 @@ type Config struct {
|
|||
// AutoEncryptAllowTLS is whether to enable the server responding to
|
||||
// AutoEncrypt.Sign requests.
|
||||
AutoEncryptAllowTLS bool
|
||||
|
||||
// Embedded Consul Enterprise specific configuration
|
||||
*EnterpriseConfig
|
||||
}
|
||||
|
||||
// ToTLSUtilConfig is only used by tests, usually the config is being passed
|
||||
|
@ -543,6 +546,7 @@ func DefaultConfig() *Config {
|
|||
|
||||
ServerHealthInterval: 2 * time.Second,
|
||||
AutopilotInterval: 10 * time.Second,
|
||||
EnterpriseConfig: DefaultEnterpriseConfig(),
|
||||
}
|
||||
|
||||
// Increase our reap interval to 3 days instead of 24h.
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
// +build !consulent
|
||||
|
||||
package consul
|
||||
|
||||
type EnterpriseConfig struct{}
|
||||
|
||||
func DefaultEnterpriseConfig() *EnterpriseConfig {
|
||||
return nil
|
||||
}
|
Loading…
Reference in New Issue