From 85d9a2d09c32d6d8326e63242cf69c976b21d38f Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 7 Aug 2018 10:52:10 +0200 Subject: util.pubsub: Include node defaults from current service object --- util/pubsub.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'util/pubsub.lua') diff --git a/util/pubsub.lua b/util/pubsub.lua index b1aad71f..08b77790 100644 --- a/util/pubsub.lua +++ b/util/pubsub.lua @@ -633,6 +633,9 @@ function service:get_node_config(node, actor) for k, v in pairs(default_node_config) do config_table[k] = v; end + for k, v in pairs(self.node_defaults) do + config_table[k] = v; + end for k, v in pairs(node_obj.config) do config_table[k] = v; end -- cgit v1.2.3