Nicely spotted!

On Wed, Oct 24, 2012 at 9:35 AM, Mykhaylo Dobrovolskyy <
[email protected]> wrote:

> Hi Guys,
>
> I've found issue why default scaling is not working(at least LA for me).
>
> Looks like some bug in the code:
>
> I did next change:
>
> file: ./src/Scalr/Scaling/Sensors/LoadAverage.php
>
> line:$la = (float)$res;
> replaced by: $la = (float)trim($res, '"');
>
> first line always return 0 because info from scalirzr was like "2.58" and
> conversion to float not worked.
>
> --
> You received this message because you are subscribed to the Google Groups
> "scalr-discuss" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/scalr-discuss/-/nrmXBIZ_LMEJ.
>
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/scalr-discuss?hl=en.
>



-- 


Follow us: Twitter <https://twitter.com/#!/scalr> -
Facebook<https://www.facebook.com/Scalr>
 - Blog <http://blog.scalr.net/>

-- 
You received this message because you are subscribed to the Google Groups 
"scalr-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/scalr-discuss?hl=en.

Reply via email to