diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-11-29 14:33:27 +0100 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-12-06 12:04:59 +0000 |
commit | 841d226d5838d36d4d13872ab7ba4f4824d9e490 (patch) | |
tree | aa78d613bf03243d0dc12d00f0125bab1013e6ad /config | |
parent | 03c888af31a356d67e50ca9f2ba1e7c276205f3e (diff) |
Set _configState before calling out to holder.
Diffstat (limited to 'config')
-rw-r--r-- | config/src/vespa/config/frt/frtconfigagent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/src/vespa/config/frt/frtconfigagent.cpp b/config/src/vespa/config/frt/frtconfigagent.cpp index e4bae234a01..9a51155e882 100644 --- a/config/src/vespa/config/frt/frtconfigagent.cpp +++ b/config/src/vespa/config/frt/frtconfigagent.cpp @@ -60,6 +60,7 @@ FRTConfigAgent::handleUpdatedGeneration(const ConfigKey & key, const ConfigState LOG(spam, "new generation %ld for key %s", newState.generation, key.toString().c_str()); } _latest = configValue; + _configState = newState; if (LOG_WOULD_LOG(spam)) { @@ -67,7 +68,6 @@ FRTConfigAgent::handleUpdatedGeneration(const ConfigKey & key, const ConfigState } _holder->handle(ConfigUpdate::UP(new ConfigUpdate(_latest, true, newState.generation))); _numConfigured++; - _configState = newState; } void |