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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user