Object Storage v1: Adding Timestamp to GetHeader results#2185
Merged
jtopjian merged 2 commits intogophercloud:masterfrom Jul 5, 2021
Merged
Object Storage v1: Adding Timestamp to GetHeader results#2185jtopjian merged 2 commits intogophercloud:masterfrom
jtopjian merged 2 commits intogophercloud:masterfrom
Conversation
kayrus
reviewed
Jun 30, 2021
| StoragePolicy string `json:"X-Storage-Policy"` | ||
| TempURLKey string `json:"X-Container-Meta-Temp-URL-Key"` | ||
| TempURLKey2 string `json:"X-Container-Meta-Temp-URL-Key-2"` | ||
| Timestamp float64 `json:"-"` |
Contributor
There was a problem hiding this comment.
@jtopjian you can use ,string in tag, see for example
Reference:
https://golang.org/pkg/encoding/json
The "string" option signals that a field is stored as JSON inside a JSON-encoded string. It applies only to fields of string, floating point, integer, or boolean types. This extra level of encoding is sometimes used when communicating with JavaScript programs:
|
Build failed.
|
Contributor
Author
|
recheck |
Contributor
Author
|
The Container tests pass on Vexxhost. I'm thinking the OpenLab failure was a timing issue. |
|
Build succeeded.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For #2170
https://github.com/openstack/swift/blob/b79ca57fa98323b17f896af86c617d465066d544/swift/common/swob.py#L1014-L1039