azure: Return success when deleting non-existent object (#9981)

This commit is contained in:
kannappanr
2020-07-10 08:30:23 -07:00
committed by GitHub
parent 30c251efd3
commit efe9fe6124
3 changed files with 16 additions and 6 deletions

View File

@@ -22,7 +22,7 @@ import (
// DeletedObject objects deleted
type DeletedObject struct {
DeleteMarker bool `xml:"DeleteMarker"`
DeleteMarker bool `xml:"DeleteMarker,omitempty"`
DeleteMarkerVersionID string `xml:"DeleteMarkerVersionId,omitempty"`
ObjectName string `xml:"Key,omitempty"`
VersionID string `xml:"VersionId,omitempty"`