Merge pull request #292 from etsy/mgmt_console_patch

cleanup whitespace and small tweaks
This commit is contained in:
Dan Rowe 2013-04-30 07:58:03 -07:00
Родитель 32734e606d 0db7e7fdf6
Коммит d16d744e64
1 изменённых файлов: 12 добавлений и 12 удалений

Просмотреть файл

@ -19,7 +19,7 @@ exports.delete_stats = function(stats_type, cmdline, stream) {
deletable = existing_stats(stats_type, cmdline[index]);
//warn if no matches
if (deletable.length == 0) {
if (deletable.length === 0) {
stream.write("metric " + cmdline[index] + " not found\n");
}
@ -30,7 +30,7 @@ exports.delete_stats = function(stats_type, cmdline, stream) {
}
}
stream.write("END\n\n");
}
};
/**
* existing_stats - find fully qualified matches for the requested stats bucket
@ -43,7 +43,7 @@ exports.delete_stats = function(stats_type, cmdline, stream) {
* no matches, an empty array is a valid response
*/
function existing_stats(stats_type, bucket){
matches = []
matches = [];
//typical case: one-off, fully qualified
if (bucket in stats_type) {