From 36f56c80c456ca74ffc03df76844ce15980ced82 Mon Sep 17 00:00:00 2001 From: Christian Volk Date: Thu, 4 May 2023 20:08:13 +0200 Subject: [PATCH] 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. --- storage/option.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/option.go b/storage/option.go index f59ab818f644..e72ceb78f061 100644 --- a/storage/option.go +++ b/storage/option.go @@ -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 {