diff --git a/weed/filer/mysql_store/mysql_store_test.go b/weed/filer/mysql_store/mysql_store_test.go index e89ca9020..2bfe26dc8 100644 --- a/weed/filer/mysql_store/mysql_store_test.go +++ b/weed/filer/mysql_store/mysql_store_test.go @@ -37,8 +37,8 @@ sample conf should be */ func TestGenerateMysqlConf(t *testing.T) { - var conf MySqlConf - conf = append(conf, MySqlInstConf{ + var conf []MySqlConf + conf = append(conf, MySqlConf{ User: "root", Password: "root", HostName: "localhost",