summaryrefslogtreecommitdiff
path: root/xmake/modules/private/service/remote_build/server.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-05-13 00:47:27 +0800
committerruki <[email protected]>2022-05-13 00:47:27 +0800
commitb7e4be37dc71c3d0d5217f32b0960bc042455d30 (patch)
treeff503c407ea4e0b98a2487d3d079cd4eda324e0e /xmake/modules/private/service/remote_build/server.lua
parent9287baf136e9c347da35d27cd7c6c1c1c54b89a2 (diff)
rewrite service config
Diffstat (limited to 'xmake/modules/private/service/remote_build/server.lua')
-rw-r--r--xmake/modules/private/service/remote_build/server.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/private/service/remote_build/server.lua b/xmake/modules/private/service/remote_build/server.lua
index f66051822..f3c0dc94d 100644
--- a/xmake/modules/private/service/remote_build/server.lua
+++ b/xmake/modules/private/service/remote_build/server.lua
@@ -19,7 +19,7 @@
--
-- imports
-import("private.service.config")
+import("private.service.server_config", {alias = "config"})
import("private.service.message")
import("private.service.server")
import("private.service.stream", {alias = "socket_stream"})
@@ -35,7 +35,7 @@ function remote_build_server:init(daemon)
super.init(self, daemon)
-- init address
- local address = assert(config.get("remote_build.server.listen"), "config(remote_build.server.listen): not found!")
+ local address = assert(config.get("remote_build.listen"), "config(remote_build.listen): not found!")
super.address_set(self, address)
-- init handler