mirror of
https://github.com/HDT3213/godis.git
synced 2025-10-27 10:40:38 +08:00
go lint
This commit is contained in:
@@ -9,7 +9,7 @@ var testCluster = MakeTestCluster(nil)
|
||||
|
||||
func MakeTestCluster(peers []string) *Cluster {
|
||||
if config.Properties == nil {
|
||||
config.Properties = &config.PropertyHolder{}
|
||||
config.Properties = &config.ServerProperties{}
|
||||
}
|
||||
config.Properties.Self = "127.0.0.1:6399"
|
||||
config.Properties.Peers = peers
|
||||
|
||||
Reference in New Issue
Block a user