diff options
Diffstat (limited to '')
-rw-r--r-- | node.d/node_modules/netdata.js | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/node.d/node_modules/netdata.js b/node.d/node_modules/netdata.js index 11202061e..143255d9e 100644 --- a/node.d/node_modules/netdata.js +++ b/node.d/node_modules/netdata.js @@ -364,12 +364,8 @@ var netdata = { if(typeof value === 'undefined' || value === null) return false; - if(this._current_chart._dimensions_count !== 0) { - if (value instanceof Buffer) - this.queue('SET ' + dimension + ' = 0x' + value.toString('hex')); - else - this.queue('SET ' + dimension + ' = ' + value.toString()); - } + if(this._current_chart._dimensions_count !== 0) + this.queue('SET ' + dimension + ' = ' + value.toString()); return true; }; |