mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix test
This commit is contained in:
parent
57578a6cd1
commit
77286f8bea
|
@ -51,7 +51,7 @@ func TestS3Conf(t *testing.T) {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
content, _ := proto.Marshal(config)
|
content, err := proto.Marshal(s3Conf)
|
||||||
assert.Equal(t, err, nil)
|
assert.Equal(t, err, nil)
|
||||||
s3ConfSaved := &iam_pb.S3ApiConfiguration{}
|
s3ConfSaved := &iam_pb.S3ApiConfiguration{}
|
||||||
err = ifs.loadIAMConfigFromBytes(content, s3ConfSaved)
|
err = ifs.loadIAMConfigFromBytes(content, s3ConfSaved)
|
||||||
|
|
Loading…
Reference in a new issue