1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-25 23:03:47 +01:00

fix: uses correct int size for memory (#3115)

This commit is contained in:
Amir Raminfar
2024-07-16 06:03:31 -07:00
committed by GitHub
parent 987c0e6cc4
commit 01afadd410
4 changed files with 5 additions and 6 deletions

View File

@@ -248,7 +248,7 @@ func (s *server) HostInfo(ctx context.Context, in *pb.HostInfoRequest) (*pb.Host
Id: host.ID,
Name: host.Name,
CpuCores: uint32(host.NCPU),
Memory: uint32(host.MemTotal),
Memory: uint64(host.MemTotal),
},
}, nil
}