apache / openwhisk-package-kafka

Apache OpenWhisk package for communicating with Kafka or Message Hub
https://openwhisk.apache.org/
Apache License 2.0
32 stars 43 forks source link

Monitor output percent units incorrect #261

Open mdeuser opened 6 years ago

mdeuser commented 6 years ago

in /provider/health.py

    swap_memory['percent'] = '%d MB' % (percent / MEGABYTE)

    virtual_memory['percent'] = '%d MB' % (percent / MEGABYTE)

    disk_usage['percent'] = '%d MB' % (percent / MEGABYTE)

MB should be %