updated coretk to working order for configuring config services from coretk
This commit is contained in:
parent
da107cc1d9
commit
80a4955bd4
4 changed files with 28 additions and 7 deletions
|
@ -182,9 +182,10 @@ class CoreGrpcServer(core_pb2_grpc.CoreApiServicer):
|
|||
# config service configs
|
||||
for config in request.config_service_configs:
|
||||
node = self.get_node(session, config.node_id, context)
|
||||
service = node.config_services[request.name]
|
||||
service.set_config(config.config)
|
||||
for name, template in config.templates.values():
|
||||
service = node.config_services[config.name]
|
||||
if config.config:
|
||||
service.set_config(config.config)
|
||||
for name, template in config.templates.items():
|
||||
service.custom_template(name, template)
|
||||
|
||||
# service file configs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue