mirror of
https://github.com/pgsty/minio.git
synced 2026-07-23 06:00:24 +03:00
typo: Low capital in some JSON field names in log/audit output (#14020)
Use a low capital in some fields in JSON log/audit output to follow other fields names.
This commit is contained in:
@@ -32,7 +32,7 @@ const Version = "1"
|
|||||||
// ObjectVersion object version key/versionId
|
// ObjectVersion object version key/versionId
|
||||||
type ObjectVersion struct {
|
type ObjectVersion struct {
|
||||||
ObjectName string `json:"objectName"`
|
ObjectName string `json:"objectName"`
|
||||||
VersionID string `json:"VersionId,omitempty"`
|
VersionID string `json:"versionId,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Entry - audit entry logs.
|
// Entry - audit entry logs.
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ import (
|
|||||||
// ObjectVersion object version key/versionId
|
// ObjectVersion object version key/versionId
|
||||||
type ObjectVersion struct {
|
type ObjectVersion struct {
|
||||||
ObjectName string `json:"objectName"`
|
ObjectName string `json:"objectName"`
|
||||||
VersionID string `json:"VersionId,omitempty"`
|
VersionID string `json:"versionId,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Args - defines the arguments for the API.
|
// Args - defines the arguments for the API.
|
||||||
|
|||||||
Reference in New Issue
Block a user