2019-12-10 02:26:41 +00:00
|
|
|
// +build !consulent
|
|
|
|
|
|
|
|
package config
|
|
|
|
|
2020-10-09 14:45:11 +00:00
|
|
|
var authMethodEntFields = `{}`
|
|
|
|
|
2019-12-10 02:26:41 +00:00
|
|
|
var entMetaJSON = `{}`
|
|
|
|
|
|
|
|
var entRuntimeConfigSanitize = `{}`
|
2019-12-18 15:16:35 +00:00
|
|
|
|
2020-08-27 17:15:10 +00:00
|
|
|
var entTokenConfigSanitize = `"EnterpriseConfig": {},`
|
2019-12-18 15:16:35 +00:00
|
|
|
|
2020-08-27 17:15:10 +00:00
|
|
|
func entFullRuntimeConfig(rt *RuntimeConfig) {}
|
2020-04-28 13:45:33 +00:00
|
|
|
|
2020-11-17 15:53:57 +00:00
|
|
|
var enterpriseReadReplicaWarnings []string = []string{enterpriseConfigKeyError{key: "read_replica"}.Error()}
|
2020-04-28 13:45:33 +00:00
|
|
|
|
|
|
|
var enterpriseConfigKeyWarnings []string
|
|
|
|
|
|
|
|
func init() {
|
2020-06-16 17:19:31 +00:00
|
|
|
for k := range enterpriseConfigMap {
|
2020-11-17 15:53:57 +00:00
|
|
|
if k == "non_voting_server" {
|
|
|
|
// this is an alias for "read_replica" so we shouldn't see it in warnings
|
|
|
|
continue
|
|
|
|
}
|
2020-04-28 13:45:33 +00:00
|
|
|
enterpriseConfigKeyWarnings = append(enterpriseConfigKeyWarnings, enterpriseConfigKeyError{key: k}.Error())
|
|
|
|
}
|
|
|
|
}
|