Fix a couple of typos in json config (#10605)

Vault.Encrypt: encryp -> encrypt
SysOBDProcess.Uids: uidsomitempty -> uids,omitempty
master
Shireesh Anjal 4 years ago committed by GitHub
parent bea87a5a20
commit 6e138f955e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkg/madmin/info-commands.go
  2. 2
      pkg/madmin/obd.go

@ -203,7 +203,7 @@ type Usage struct {
// Vault - Fetches the Vault status
type Vault struct {
Status string `json:"status,omitempty"`
Encrypt string `json:"encryp,omitempty"`
Encrypt string `json:"encrypt,omitempty"`
Decrypt string `json:"decrypt,omitempty"`
}

@ -107,7 +107,7 @@ type SysOBDProcess struct {
Tgid int32 `json:"tgid,omitempty"`
Threads map[int32]*cpu.TimesStat `json:"threadstats,omitempty"`
Times *cpu.TimesStat `json:"cputimes,omitempty"`
Uids []int32 `json:"uidsomitempty"`
Uids []int32 `json:"uids,omitempty"`
Username string `json:"username,omitempty"`
}

Loading…
Cancel
Save