1
0
mirror of https://github.com/minio/mc.git synced 2025-11-10 13:42:32 +03:00

Update minio-go to v6.0.29 (#2799)

This commit is contained in:
Harshavardhana
2019-06-15 10:12:32 -07:00
committed by kannappanr
parent ca26dac8e2
commit a12c507bec
4 changed files with 18 additions and 16 deletions

View File

@@ -107,7 +107,7 @@ func TestParseEncryptionKeys(t *testing.T) {
}{
{
encryptionKey: "myminio1/test2=32byteslongsecretkeymustbegiven2",
expectedEncMap: map[string][]prefixSSEPair{"myminio1": []prefixSSEPair{prefixSSEPair{
expectedEncMap: map[string][]prefixSSEPair{"myminio1": {{
Prefix: "myminio1/test2",
SSE: sseKey1,
}}},
@@ -120,7 +120,7 @@ func TestParseEncryptionKeys(t *testing.T) {
},
{
encryptionKey: "myminio1/test2=32byteslongsecretkey,ustbegiven1",
expectedEncMap: map[string][]prefixSSEPair{"myminio1": []prefixSSEPair{prefixSSEPair{
expectedEncMap: map[string][]prefixSSEPair{"myminio1": {{
Prefix: "myminio1/test2",
SSE: sseCommaKey1,
}}},
@@ -128,7 +128,7 @@ func TestParseEncryptionKeys(t *testing.T) {
},
{
encryptionKey: "myminio1/test2=32byteslongsecret mustbegiven1",
expectedEncMap: map[string][]prefixSSEPair{"myminio1": []prefixSSEPair{prefixSSEPair{
expectedEncMap: map[string][]prefixSSEPair{"myminio1": {{
Prefix: "myminio1/test2",
SSE: sseSpaceKey1,
}}},
@@ -136,10 +136,10 @@ func TestParseEncryptionKeys(t *testing.T) {
},
{
encryptionKey: "myminio1/test2=32byteslongsecretkeymustbegiven2,myminio1/test1/a=32byteslongsecretkeymustbegiven1",
expectedEncMap: map[string][]prefixSSEPair{"myminio1": []prefixSSEPair{prefixSSEPair{
expectedEncMap: map[string][]prefixSSEPair{"myminio1": {{
Prefix: "myminio1/test1/a",
SSE: sseKey2,
}, prefixSSEPair{
}, {
Prefix: "myminio1/test2",
SSE: sseKey1,
}}},