Skip to content

Commit

Permalink
Use string field 'edition' instead of bool
Browse files Browse the repository at this point in the history
  • Loading branch information
anjalshireesh committed Jan 6, 2025
1 parent 27cebfb commit 15ff9d3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion health.go
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,7 @@ type ServerInfo struct {
RuntimeVersion string `json:"runtime_version"`
GCStats *GCStats `json:"gc_stats,omitempty"`
MinioEnvVars map[string]string `json:"minio_env_vars,omitempty"`
IsAIStor *bool `json:"is_aistor,omitempty"`
Edition string `json:"edition,omitempty"`
}

// MinioInfo contains MinIO server and object storage information.
Expand Down
2 changes: 1 addition & 1 deletion info-commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ type ServerProperties struct {
RuntimeVersion string `json:"runtime_version,omitempty"`
GCStats *GCStats `json:"gc_stats,omitempty"`
MinioEnvVars map[string]string `json:"minio_env_vars,omitempty"`
IsAIStor *bool `json:"is_aistor,omitempty"`
Edition string `json:"edition,omitempty"`
}

// MemStats is strip down version of runtime.MemStats containing memory stats of MinIO server.
Expand Down
2 changes: 1 addition & 1 deletion register.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ type ClusterInfo struct {
NoOfObjects uint64 `json:"no_of_objects"`
TotalDriveSpace uint64 `json:"total_drive_space"`
UsedDriveSpace uint64 `json:"used_drive_space"`
IsAIStor *bool `json:"is_aistor,omitempty"`
Edition string `json:"edition,omitempty"`
}

// SubnetLoginReq - JSON payload of the SUBNET login api
Expand Down

0 comments on commit 15ff9d3

Please sign in to comment.