[Groonga-commit] nroonga/norema [master] NOREMA_SEARCH_NODE -> SEARCH_ENDPOINT

Back to archive index

null+****@clear***** null+****@clear*****
2012年 8月 8日 (水) 16:11:20 JST


Yoji SHIDARA	2012-08-08 16:11:20 +0900 (Wed, 08 Aug 2012)

  New Revision: 3039734852f8707fce49da5d2b1bbad95aec59c6
  https://github.com/nroonga/norema/commit/3039734852f8707fce49da5d2b1bbad95aec59c6

  Log:
    NOREMA_SEARCH_NODE -> SEARCH_ENDPOINT

  Modified files:
    lib/server.js

  Modified: lib/server.js (+5 -5)
===================================================================
--- lib/server.js    2012-08-08 16:10:02 +0900 (96e63eb)
+++ lib/server.js    2012-08-08 16:11:20 +0900 (bea193d)
@@ -4,17 +4,17 @@ var app = express();
 var env = process.env;
 var port = env.PORT ? parseInt(env.PORT, 10) : 3000;
 var server = http.createServer(app);
-var searchNode = env.NOREMA_SEARCH_NODE;
+var searchNode = env.SEARCH_ENDPOINT;
 
 if (!searchNode) {
-  console.error("Environment variable 'NOREMA_SEARCH_NODE' is not defined.");
+  console.error("Environment variable 'SEARCH_ENDPOINT' is not defined.");
   console.error("Example: ");
   console.error("(for development)");
-  console.error("    env NOREMA_SEARCH_NODE=search-norema-00000000000000000000000000.127.0.0.1.xip.io:7575 npm start");
+  console.error("    env SEARCH_ENDPOINT=search-norema-00000000000000000000000000.127.0.0.1.xip.io:7575 npm start");
   console.error("(for heroku)");
-  console.error("    heroku config:add NOREMA_SEARCH_NODE=search-norema-00000000000000000000000000.127.0.0.1.xip.io:7575");
+  console.error("    heroku config:add SEARCH_ENDPOINT=search-norema-00000000000000000000000000.127.0.0.1.xip.io:7575");
   console.error("(for nodejitsu)");
-  console.error("    jitsu env set NOREMA_SEARCH_NODE search-norema-00000000000000000000000000.127.0.0.1.xip.io:7575");
+  console.error("    jitsu env set SEARCH_ENDPOINT search-norema-00000000000000000000000000.127.0.0.1.xip.io:7575");
   process.exit(1);
 }
 // configuration
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
下載 



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