From 109a1767b1566c2b60d92f2bb0e60e0e72b44810 Mon Sep 17 00:00:00 2001 From: Mahesh N Date: Fri, 8 Nov 2024 17:36:41 +0530 Subject: [PATCH] update used memory datatype --- pkg/models/servers.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/models/servers.go b/pkg/models/servers.go index 2e6b2f6..454555b 100644 --- a/pkg/models/servers.go +++ b/pkg/models/servers.go @@ -116,9 +116,9 @@ type ComputeServerType struct { type ServerStats struct { TS string `json:"ts"` MaxMemory int64 `json:"maxMemory"` - UsedMemory int `json:"usedMemory"` + UsedMemory int64 `json:"usedMemory"` MaxStorage int64 `json:"maxStorage"` - UsedStorage int `json:"usedStorage"` + UsedStorage int64 `json:"usedStorage"` CPUUsage float64 `json:"cpuUsage"` FreeMemory int64 `json:"freeMemory"` ReservedMemory int64 `json:"reservedMemory"`