diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-08-13 10:17:40 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-08-13 10:17:40 -0600 |
commit | bbe902748429cf52d8d260bd45f6555a14ba9d4b (patch) | |
tree | 9d8b2a926697a6877556980df16415ef902909f5 | |
parent | 62b064ee7cc70eac75a51a6f89038509631f5a13 (diff) |
RrdQueryRemote#_callRemote: fix indentation
-rw-r--r-- | jarmon/jarmon.js | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/jarmon/jarmon.js b/jarmon/jarmon.js index e3bb382..9176719 100644 --- a/jarmon/jarmon.js +++ b/jarmon/jarmon.js @@ -350,18 +350,17 @@ jarmon.RrdQueryRemote.prototype._callRemote = function(methodName, args) { function(res) { if(res instanceof Error) { //ret.reject(res); - result = { - data: [ - [args[0], 0], - [args[1], 0] - ], - lines: { - lineWidth: 0 - } - }; + result = { + data: [ + [args[0], 0], + [args[1], 0] + ], + lines: { + lineWidth: 0 + } + }; ret.resolve(result); return result; - } else { // Upon successful download convert the resulting binary // into an RRD file |