Fix Retention, ObjectLock, LegalHold struct namespaces correctly. (#8909)

Reverts #8903 to allow structs to be unmarshalled 
even if the namespace is missing.
This commit is contained in:
poornas
2020-01-29 20:28:05 -08:00
committed by GitHub
parent f6a7d4d29b
commit 881e983ed9
4 changed files with 24 additions and 8 deletions

View File

@@ -433,7 +433,7 @@ func TestConfigUnmarshalXML(t *testing.T) {
`)
dataCase3 := []byte(`
<NotificationConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<NotificationConfiguration>
<QueueConfiguration>
<Id>1</Id>
<Filter></Filter>