aboutsummaryrefslogtreecommitdiff
path: root/headers.go
diff options
context:
space:
mode:
Diffstat (limited to 'headers.go')
-rw-r--r--headers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/headers.go b/headers.go
index c1119ae..47a2f73 100644
--- a/headers.go
+++ b/headers.go
@@ -86,7 +86,7 @@ func (h Headers) ToHTTP() http.Header {
// hdr := NewObjectHeaders()
// hdr.ContentType().Set("image/png")
// hdr.Metadata().Set("color", "blue")
-// obj.Upload(content, hdr.ToOpts())
+// obj.Upload(content, nil, hdr.ToOpts())
//
func (h Headers) ToOpts() *RequestOptions {
return &RequestOptions{Headers: h}