Skip to content

Commit 36f56c8

Browse files
authored
docs(storage): WithXMLReads should mention XML instead of JSON API (#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.
1 parent b1ae3ca commit 36f56c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/option.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func WithJSONReads() option.ClientOption {
5757
}
5858

5959
// WithXMLReads is an option that may be passed to a Storage Client on creation.
60-
// It sets the client to use the JSON API for object reads.
60+
// It sets the client to use the XML API for object reads.
6161
//
6262
// This is the current default.
6363
func WithXMLReads() option.ClientOption {

0 commit comments

Comments
 (0)