[Groonga-commit] groonga/gcs [master] Output multiple domains correctly

Back to archive index

null+****@clear***** null+****@clear*****
2012年 8月 3日 (金) 18:17:00 JST


SHIMODA Hiroshi	2012-08-03 18:17:00 +0900 (Fri, 03 Aug 2012)

  New Revision: ae60330c7edfc9791c5a89293c354736ed5e83c3
  https://github.com/groonga/gcs/commit/ae60330c7edfc9791c5a89293c354736ed5e83c3

  Log:
    Output multiple domains correctly

  Modified files:
    bin/cs-describe-domain

  Modified: bin/cs-describe-domain (+2 -1)
===================================================================
--- bin/cs-describe-domain    2012-08-03 18:16:08 +0900 (faa2b68)
+++ bin/cs-describe-domain    2012-08-03 18:17:00 +0900 (2233956)
@@ -35,7 +35,8 @@ if (program.domainName) {
   var domain = new commandLine.Domain(program.domainName, context);
   report(domain);
 } else {
-  Domain.getAll(context).forEach(function(domain, index) {
+  var domains = commandLine.Domain.getAll(context);
+  domains.forEach(function(domain, index) {
     if (index) console.log('========================================');
     report(domain);
   });
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



Groonga-commit メーリングリストの案内
Back to archive index