From 77286f8bea1389aa17555f0b3dc244b07b938643 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sun, 6 Dec 2020 21:56:13 -0800 Subject: [PATCH] fix test --- weed/s3iam/s3iam_filer_store_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/s3iam/s3iam_filer_store_test.go b/weed/s3iam/s3iam_filer_store_test.go index 2945398ed..5845f1383 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)