fix some typo in struct name comments (#19513)

Signed-off-by: coderwander <770732124@qq.com>
This commit is contained in:
coderwander 2024-05-14 15:26:50 +08:00 committed by GitHub
parent 5808190398
commit 3c5f2d8916
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ type ObjectToDelete struct {
ReplicateDecisionStr string `xml:"-"` 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. // Used for parsing the location from the request body for Makebucket.
type createBucketLocationConfiguration struct { type createBucketLocationConfiguration struct {
XMLName xml.Name `xml:"CreateBucketConfiguration" json:"-"` XMLName xml.Name `xml:"CreateBucketConfiguration" json:"-"`

View File

@ -64,7 +64,7 @@ func setObjectLayer(o ObjectLayer) {
globalObjLayerMutex.Unlock() globalObjLayerMutex.Unlock()
} }
// objectAPIHandler implements and provides http handlers for S3 API. // objectAPIHandlers implements and provides http handlers for S3 API.
type objectAPIHandlers struct { type objectAPIHandlers struct {
ObjectAPI func() ObjectLayer ObjectAPI func() ObjectLayer
} }