Skip to content

Commit

Permalink
docs(storage): WithXMLReads should mention XML instead of JSON API (#…
Browse files Browse the repository at this point in the history
…7881)

I've spotted a copy/paste issue in the description of `storage.WithXMLReads`. It states it would use the JSON API instead of XML, which is obviously wrong.
  • Loading branch information
v0lkc committed May 4, 2023
1 parent b1ae3ca commit 36f56c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/option.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func WithJSONReads() option.ClientOption {
}

// WithXMLReads is an option that may be passed to a Storage Client on creation.
// It sets the client to use the JSON API for object reads.
// It sets the client to use the XML API for object reads.
//
// This is the current default.
func WithXMLReads() option.ClientOption {
Expand Down

0 comments on commit 36f56c8

Please sign in to comment.