Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Commit 50fc97d

Browse files
author
Jamie Hannaford
committed
make the comment a bit more relevant
1 parent 52d3076 commit 50fc97d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openstack/objectstorage/v1/objects/requests.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,8 @@ func (opts CreateOpts) ToObjectCreateParams() (map[string]string, string, error)
190190
return h, q.String(), nil
191191
}
192192

193-
// Create is a function that creates a new object or replaces an existing object. Failed requests
194-
// will automatically be retried up to a maximum of 3 times for added robustness.
193+
// Create is a function that creates a new object or replaces an existing object. If the returned response's ETag
194+
// header fails to match the local checksum, the failed request will automatically be retried up to a maximum of 3 times.
195195
func Create(c *gophercloud.ServiceClient, containerName, objectName string, content io.ReadSeeker, opts CreateOptsBuilder) CreateResult {
196196
var res CreateResult
197197

0 commit comments

Comments
 (0)