remove einterface gets (#7455)
Этот коммит содержится в:
@@ -689,11 +689,3 @@ func Desanitize(cfg *model.Config) {
|
||||
cfg.SqlSettings.DataSourceSearchReplicas[i] = Cfg.SqlSettings.DataSourceSearchReplicas[i]
|
||||
}
|
||||
}
|
||||
|
||||
func IsLeader() bool {
|
||||
if IsLicensed() && *Cfg.ClusterSettings.Enable && einterfaces.GetClusterInterface() != nil {
|
||||
return einterfaces.GetClusterInterface().IsLeader()
|
||||
} else {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user