summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jarmon/jarmon.js19
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