Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

UT case fix

霍晓栋e7b237c8dadc
diff --git a/weed/filer/mysql_store/mysql_store_test.go b/weed/filer/mysql_store/mysql_store_test.go
index e89ca90209..2bfe26dc81 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",