diff options
author | Arne Juul <arnej@verizonmedia.com> | 2021-06-07 21:07:23 +0000 |
---|---|---|
committer | Arne Juul <arnej@verizonmedia.com> | 2021-06-07 21:07:23 +0000 |
commit | a402fb4fab902b9f8c9a8859b1142e436bf439e3 (patch) | |
tree | 2c5da064bd01a452b1b71f74536d515fba667918 /configd/src/apps/sentinel/env.cpp | |
parent | f16f846f7486febb25069284278034ce597dc164 (diff) |
minor fixups after review
Diffstat (limited to 'configd/src/apps/sentinel/env.cpp')
-rw-r--r-- | configd/src/apps/sentinel/env.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configd/src/apps/sentinel/env.cpp b/configd/src/apps/sentinel/env.cpp index 9763956bada..5bbbfd8f0bd 100644 --- a/configd/src/apps/sentinel/env.cpp +++ b/configd/src/apps/sentinel/env.cpp @@ -56,6 +56,7 @@ void Env::boot(const std::string &configId) { Connectivity checker; for (int retry = 0; retry < maxConnectivityRetries; ++retry) { bool changed = _cfgOwner.checkForConfigUpdate(); + LOG_ASSERT(changed || retry > 0); if (changed) { LOG_ASSERT(_cfgOwner.hasConfig()); const auto & cfg = _cfgOwner.getConfig(); |