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.

fix test

Chris Lu77286f8bea13
diff --git a/weed/s3iam/s3iam_filer_store_test.go b/weed/s3iam/s3iam_filer_store_test.go
index 2945398ed7..5845f13839 100644
--- a/weed/s3iam/s3iam_filer_store_test.go
+++ b/weed/s3iam/s3iam_filer_store_test.go
@@ -51,7 +51,7 @@ func TestS3Conf(t *testing.T) {
},
},
}
- content, _ := proto.Marshal(config)
+ content, err := proto.Marshal(s3Conf)
assert.Equal(t, err, nil)
s3ConfSaved := &iam_pb.S3ApiConfiguration{}
err = ifs.loadIAMConfigFromBytes(content, s3ConfSaved)