diff --git a/bin/droonga-http-server-configure b/bin/droonga-http-server-configure index 8892026..4c427ca 100755 --- a/bin/droonga-http-server-configure +++ b/bin/droonga-http-server-configure @@ -312,7 +312,7 @@ function writeNewConfigs() { engineConfigs.port = configValues.droongaEnginePort; engineConfigs.default_dataset = configValues.defaultDataset; engineConfigs.tag = configValues.tag; - engineConfigs.receiver_host = configValues.receiveHostName; + engineConfigs.receive_host = configValues.receiveHostName; configs.engine = engineConfigs; var configYaml = yaml.safeDump(configs); diff --git a/lib/default-configs.js b/lib/default-configs.js index 0cf3a39..7b2dae1 100644 --- a/lib/default-configs.js +++ b/lib/default-configs.js @@ -79,11 +79,11 @@ define(configs, 'engine.host', engineConfigs.host); define(configs, 'engine.port', engineConfigs.port); define(configs, 'engine.tag', engineConfigs.tag); define(configs, 'engine.default_dataset', 'Default'); -// We can use the host name of the droonga-engine as the receiver host +// We can use the host name of the droonga-engine as the receive host // of the http server, because this computer works as a droonga-engine // node and it is guaranteed that this computer can be accessed with // the host name. -define(configs, 'engine.receiver_host', engineConfigs.host); +define(configs, 'engine.receive_host', engineConfigs.host); return configs; } diff --git a/lib/server-options.js b/lib/server-options.js index 952da9f..099be9f 100644 --- a/lib/server-options.js +++ b/lib/server-options.js @@ -17,7 +17,7 @@ options.droongaEngineHostName = defaultConfigs.engine.host; options.droongaEnginePort = defaultConfigs.engine.port; options.tag = defaultConfigs.engine.tag; options.defaultDataset = defaultConfigs.engine.default_dataset; -options.receiveHostName = defaultConfigs.engine.receiver_host; +options.receiveHostName = defaultConfigs.engine.receive_host; function intOption(newValue, oldValue) { return parseInt(newValue); diff --git a/sample/droonga-http-server.yaml b/sample/droonga-http-server.yaml index c611d4d..a70a17e 100644 --- a/sample/droonga-http-server.yaml +++ b/sample/droonga-http-server.yaml @@ -9,4 +9,4 @@ engine: port: 10031 default_dataset: Default tag: droonga - receiver_host: 192.168.0.10 + receive_host: 192.168.0.10