mirror of
https://github.com/kharonsec/garage.git
synced 2026-04-25 20:44:55 +02:00
fix: VersioningConfiguration xml reference
empty element handling is set as expanded and be consistant.
This commit is contained in:
@@ -468,7 +468,7 @@ mod tests {
|
||||
assert_eq!(
|
||||
to_xml_with_header(&get_bucket_versioning)?,
|
||||
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\
|
||||
<VersioningConfiguration xmlns=\"http://s3.amazonaws.com/doc/2006-03-01/\"/>"
|
||||
<VersioningConfiguration xmlns=\"http://s3.amazonaws.com/doc/2006-03-01/\"></VersioningConfiguration>"
|
||||
);
|
||||
let get_bucket_versioning2 = VersioningConfiguration {
|
||||
xmlns: (),
|
||||
|
||||
Reference in New Issue
Block a user