Skip to content

Commit

Permalink
fix: CPUInfo.MHZ type error (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
im-zhou committed Aug 10, 2024
1 parent 215b6c1 commit a332a3f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions types.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ type RootFS struct {

type CPUInfo struct {
UserHz int `json:"user_hz"`
MHZ string
MHZ int
Mode string
Cores int
Sockets int
Expand Down Expand Up @@ -900,7 +900,7 @@ type NodeNetwork struct {
}

type AgentNetworkIPAddress struct {
IPAddressType string `json:"ip-address-type"` //ipv4 ipv6
IPAddressType string `json:"ip-address-type"` // ipv4 ipv6
IPAddress string `json:"ip-address"`
Prefix int `json:"prefix"`
MacAddress string `json:"mac-address"`
Expand Down Expand Up @@ -1058,7 +1058,7 @@ type Domain struct {
GroupFilter string `json:"group_filter,omitempty"`
GroupName string `json:"group_name,omitempty"`
IssuerURL string `json:"issuer-url,omitempty"`
Mode string `json:"mode,omitempty"` //ldap, ldaps,ldap+starttls
Mode string `json:"mode,omitempty"` // ldap, ldaps,ldap+starttls
Password string `json:"password,omitempty"`
Port int `json:"port,omitempty"`
Prompt string `json:"prompt,omitempty"`
Expand Down

0 comments on commit a332a3f

Please sign in to comment.