mirror of
https://github.com/HDT3213/godis.git
synced 2025-10-05 16:57:06 +08:00
raft cluster core
This commit is contained in:
@@ -164,7 +164,7 @@ func GenGodisInfoString(section string, db *Server) []byte {
|
||||
|
||||
// getGodisRunningMode return godis running mode
|
||||
func getGodisRunningMode() string {
|
||||
if config.Properties.ClusterEnabled == "yes" {
|
||||
if config.Properties.ClusterEnable {
|
||||
return config.ClusterMode
|
||||
} else {
|
||||
return config.StandaloneMode
|
||||
|
Reference in New Issue
Block a user