From 03e899701e2589065ae55f991d78da6c14549999 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Mon, 31 May 2021 13:59:13 +0200 Subject: [PATCH] Add custom vars to the runtime update sync The customvar runtime update sync may change because the customvar flat runtime update sync is not yet implemented. --- cmd/icingadb/main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/icingadb/main.go b/cmd/icingadb/main.go index 00a993d8..476ba722 100644 --- a/cmd/icingadb/main.go +++ b/cmd/icingadb/main.go @@ -214,7 +214,9 @@ func run() int { logger.Infof("Starting runtime updates sync") - return rt.Sync(synctx, v1.Factories, lastRuntimeStreamId) + // @TODO(el): The customvar runtime update sync may change because the customvar flat + // runtime update sync is not yet implemented. + return rt.Sync(synctx, append(v1.Factories, v1.NewCustomvar), lastRuntimeStreamId) }) if err := g.Wait(); err != nil && !utils.IsContextCanceled(err) {