andrewdmcleod / magpie-layer

testing
Apache License 2.0
0 stars 12 forks source link

Iperf speed results might be a float and not an int #8

Open n-pochet opened 5 years ago

n-pochet commented 5 years ago

It happens that the iperf speed result is a float and not an int. Therefore, if a float is given, the code https://github.com/andrewdmcleod/magpie-layer/blob/master/lib/charms/layer/magpie_tools.py#L134-L140 will raise an exception