Skip to content

Commit

Permalink
Add omitempty to new timestorageclassupdated (#1633)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvesJorge authored Jun 10, 2024
1 parent 5a607b0 commit c2cd6de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fakestorage/response.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ type objectResponse struct {
StorageClass string `json:"storageClass"`
TimeCreated string `json:"timeCreated,omitempty"`
TimeDeleted string `json:"timeDeleted,omitempty"`
TimeStorageClassUpdated string `json:"timeStorageClassUpdated"`
TimeStorageClassUpdated string `json:"timeStorageClassUpdated,omitempty"`
Updated string `json:"updated,omitempty"`
Generation int64 `json:"generation,string"`
CustomTime string `json:"customTime,omitempty"`
Expand Down

0 comments on commit c2cd6de

Please sign in to comment.