ok, sorry I missed it.



On Wed, Jun 12, 2013 at 9:43 PM, mechanica <notifications@github.com> wrote:

> In node/stats.js:
>
> >  * @param data - array of data to normalize
> >  * @param callback - calls with (err, null) on error, and (null, data)
> >  * where data is an array of info outputs.
> >  */
> > -var normalizeLoad = function (data, callback) {
> > +var normalizeLoad = function (cols, data, callback) {
> > +   if (!callback) {
> > +      callback = data;
> > +      data = cols;
> > +      cols = [1]
> > +   }
> > +
> >     async.each(data, function (server, cb) {
>
> no need for plural here. async.each returns one host at a time and by
> host[1] we actually getting specific stat of it.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/dzimine/collectd3/pull/1/files#r4672614>
> .
>