diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-12-06 21:56:13 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-12-06 21:56:13 -0800 |
| commit | 77286f8bea1389aa17555f0b3dc244b07b938643 (patch) | |
| tree | 5d5c7635885d279857f50bd387e2de59c7f58466 | |
| parent | 57578a6cd1646f8c95f79ca215be6330afad3b89 (diff) | |
| download | seaweedfs-77286f8bea1389aa17555f0b3dc244b07b938643.tar.xz seaweedfs-77286f8bea1389aa17555f0b3dc244b07b938643.zip | |
fix test
| -rw-r--r-- | weed/s3iam/s3iam_filer_store_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
