From 3c5f2d89160fa3b2af8321a8115b4d4ec2bb4325 Mon Sep 17 00:00:00 2001 From: coderwander <166724773+coderwander@users.noreply.github.com> Date: Tue, 14 May 2024 15:26:50 +0800 Subject: [PATCH] fix some typo in struct name comments (#19513) Signed-off-by: coderwander <770732124@qq.com> --- cmd/api-datatypes.go | 2 +- cmd/api-router.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/api-datatypes.go b/cmd/api-datatypes.go index b86b15a20..2d2831ca1 100644 --- a/cmd/api-datatypes.go +++ b/cmd/api-datatypes.go @@ -67,7 +67,7 @@ type ObjectToDelete struct { ReplicateDecisionStr string `xml:"-"` } -// createBucketConfiguration container for bucket configuration request from client. +// createBucketLocationConfiguration container for bucket configuration request from client. // Used for parsing the location from the request body for Makebucket. type createBucketLocationConfiguration struct { XMLName xml.Name `xml:"CreateBucketConfiguration" json:"-"` diff --git a/cmd/api-router.go b/cmd/api-router.go index 6943ed423..a54761f5e 100644 --- a/cmd/api-router.go +++ b/cmd/api-router.go @@ -64,7 +64,7 @@ func setObjectLayer(o ObjectLayer) { globalObjLayerMutex.Unlock() } -// objectAPIHandler implements and provides http handlers for S3 API. +// objectAPIHandlers implements and provides http handlers for S3 API. type objectAPIHandlers struct { ObjectAPI func() ObjectLayer }