Create a new config setting, and migrate the old values to new. https://mattermost.atlassian.net/browse/MM-63652 Skip-Enterprise-PR: true ```release-note NONE ``` * fix i18n also fix unit tests ```release-note NONE ``` * For fresh installations, default to true ```release-note NONE ``` * gofmt files ```release-note NONE ``` * Fixing some more strings ```release-note NONE ``` * Update e2e tests ```release-note NONE ```
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
7f4fbd803a
Коммит
3a6aeee57e
@@ -823,14 +823,13 @@ func (ts *TelemetryService) trackConfig() {
|
||||
}
|
||||
|
||||
configs[TrackConfigCluster] = map[string]any{
|
||||
"enable": *cfg.ClusterSettings.Enable,
|
||||
"network_interface": isDefault(*cfg.ClusterSettings.NetworkInterface, ""),
|
||||
"bind_address": isDefault(*cfg.ClusterSettings.BindAddress, ""),
|
||||
"advertise_address": isDefault(*cfg.ClusterSettings.AdvertiseAddress, ""),
|
||||
"use_ip_address": *cfg.ClusterSettings.UseIPAddress,
|
||||
"enable_experimental_gossip_encryption": *cfg.ClusterSettings.EnableExperimentalGossipEncryption,
|
||||
"enable_gossip_compression": *cfg.ClusterSettings.EnableGossipCompression,
|
||||
"read_only_config": *cfg.ClusterSettings.ReadOnlyConfig,
|
||||
"enable": *cfg.ClusterSettings.Enable,
|
||||
"network_interface": isDefault(*cfg.ClusterSettings.NetworkInterface, ""),
|
||||
"bind_address": isDefault(*cfg.ClusterSettings.BindAddress, ""),
|
||||
"advertise_address": isDefault(*cfg.ClusterSettings.AdvertiseAddress, ""),
|
||||
"use_ip_address": *cfg.ClusterSettings.UseIPAddress,
|
||||
"enable_gossip_compression": *cfg.ClusterSettings.EnableGossipCompression,
|
||||
"read_only_config": *cfg.ClusterSettings.ReadOnlyConfig,
|
||||
}
|
||||
|
||||
configs[TrackConfigMetrics] = map[string]any{
|
||||
|
||||
Ссылка в новой задаче
Block a user