diff --git a/health.go b/health.go index 533202f..0ef0b18 100644 --- a/health.go +++ b/health.go @@ -996,6 +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"` + Edition string `json:"edition"` } // MinioInfo contains MinIO server and object storage information. diff --git a/info-commands.go b/info-commands.go index 4749891..3e4bffd 100644 --- a/info-commands.go +++ b/info-commands.go @@ -423,6 +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"` + Edition string `json:"edition"` } // MemStats is strip down version of runtime.MemStats containing memory stats of MinIO server. diff --git a/register.go b/register.go index f2df1ac..0193b52 100644 --- a/register.go +++ b/register.go @@ -44,6 +44,7 @@ type ClusterInfo struct { NoOfObjects uint64 `json:"no_of_objects"` TotalDriveSpace uint64 `json:"total_drive_space"` UsedDriveSpace uint64 `json:"used_drive_space"` + Edition string `json:"edition"` } // SubnetLoginReq - JSON payload of the SUBNET login api