Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[ui] show running/max drones in `apps list`.

  • Loading branch information...
commit efaa4d424c117eb9e4a273c88dfd105f7145c6c6 1 parent fb146d8
@chjj chjj authored
Showing with 5 additions and 4 deletions.
  1. +5 −4 lib/jitsu/commands/apps.js
View
9 lib/jitsu/commands/apps.js
@@ -314,7 +314,7 @@ apps.list = function (username, callback) {
if (err) {
return callback(err);
}
-
+
jitsu.commands.apps.list(username, callback);
});
}
@@ -324,7 +324,7 @@ apps.list = function (username, callback) {
if (err) {
return callback(err);
}
-
+
jitsu.commands.apps.list(username, callback);
});
}
@@ -351,8 +351,8 @@ apps.list = function (username, callback) {
return callback();
}
- var rows = [['name', 'state', 'subdomain', 'running snapshot']],
- colors = ['underline', 'underline', 'underline', 'underline'];
+ var rows = [['name', 'state', 'subdomain', 'drones', 'running snapshot']],
+ colors = ['underline', 'underline', 'underline', 'underline', 'underline'];
apps.forEach(function (app) {
app.state = jitsu.common.formatAppState(app.state);
@@ -369,6 +369,7 @@ apps.list = function (username, callback) {
app.name,
app.state,
app.subdomain,
+ app.drones + '/' + app.maxDrones,
snapshot
]);
});
Please sign in to comment.
Something went wrong with that request. Please try again.