Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: CPUInfo.MHZ type error #153

Merged
merged 1 commit into from
Aug 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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