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:
Anis Elleuch 2022-01-03 18:26:26 +01:00 committed by GitHub
parent a60ac7ca17
commit 9d91d32d82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ const Version = "1"
// ObjectVersion object version key/versionId
type ObjectVersion struct {
ObjectName string `json:"objectName"`
VersionID string `json:"VersionId,omitempty"`
VersionID string `json:"versionId,omitempty"`
}
// Entry - audit entry logs.

View file

@ -25,7 +25,7 @@ import (
// ObjectVersion object version key/versionId
type ObjectVersion struct {
ObjectName string `json:"objectName"`
VersionID string `json:"VersionId,omitempty"`
VersionID string `json:"versionId,omitempty"`
}
// Args - defines the arguments for the API.