dockersamples/docker-swarm-visualizer

memory display less than 1GB (for Pi clusters etc)

doughadfield opened this issue · 2 comments

viz
Hi, this is an excellent app for simply illustrating docker clusters in a "lab" environment. In these environments Raspberry Pi clusters are common. However most Pis (Zeros) have less than 1GB memory, but the recent mod to display memory in GB displays "0" for memory sizes less than 1GB. Please can the memory display line be tweaked slightly to show fractions of GB (0.5GB) for 512MB nodes?

thanks again for an excellent tool

Doug

    1. Same here.

Fixed, currently building. Will show 3 decimal places