This commit is contained in:
Chris Lu 2020-12-06 21:56:13 -08:00
parent 57578a6cd1
commit 77286f8bea

View file

@ -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)