Skip to content

Commit

Permalink
#756 minor typo
Browse files Browse the repository at this point in the history
  • Loading branch information
itayw committed Nov 1, 2015
1 parent 9e233ba commit 891ca43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dispatch/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,12 +224,12 @@ manager.parseMetric = function(context, m, callback) {
if (err)
return callback(err);

col = collection[m.dependsOn] ? collection : null;
m = ce.extend(collection[m.key], m);
if (!m.dependsOn)
m.dependsOn = m.key;
if (!m.name)
m.name = m.key;
col = collection[m.dependsOn] ? collection : null;
if (!col && m.dependsOn.indexOf('.') > -1) {
//let's see if we're dealing with a compound key
if (joola.common.checkNested(collection, m.dependsOn)) {
Expand Down

0 comments on commit 891ca43

Please sign in to comment.