aboutsummaryrefslogtreecommitdiffstats
path: root/configd
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2021-06-11 16:01:48 +0000
committerArne Juul <arnej@verizonmedia.com>2021-06-11 16:01:48 +0000
commite3a93a6bfd8b90ced59f458675685ca7a45c9ded (patch)
tree542e9933824a959e9442c4cca0558032e37d2e00 /configd
parent339b58f9437e0c60cc8107aa0252a783d2790e27 (diff)
must check for model config updates in boot() also
Diffstat (limited to 'configd')
-rw-r--r--configd/src/apps/sentinel/env.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/configd/src/apps/sentinel/env.cpp b/configd/src/apps/sentinel/env.cpp
index 10f1b683cb5..f857f95a496 100644
--- a/configd/src/apps/sentinel/env.cpp
+++ b/configd/src/apps/sentinel/env.cpp
@@ -66,6 +66,7 @@ void Env::boot(const std::string &configId) {
configId.c_str(), cfg.port.telnet, cfg.port.rpc);
rpcPort(cfg.port.rpc);
statePort(cfg.port.telnet);
+ _modelOwner.checkForUpdates();
auto model = _modelOwner.getModelConfig();
if (model.has_value()) {
checker.configure(cfg.connectivity, model.value());