Always set new config (which also sets generation) when generation has changed
@@ -92,11 +92,7 @@ public class JRTConfigSubscription<T extends ConfigInstance> extends ConfigSubsc
}
if (jrtReq.hasUpdatedGeneration()) {
setInternalRedeploy(jrtReq.responseIsInternalRedeploy());
- if (jrtReq.hasUpdatedConfig()) {
setNewConfig(jrtReq);
- } else {
- setGeneration(jrtReq.getNewGeneration());
- }
}
return true;
}
