NIFI-4799:

- Ensure variable registry update request is marked completed.
This closes #2421.

Signed-off-by: Mark Payne <markap14@hotmail.com>
This commit is contained in:
Matt Gilman 2018-01-22 12:09:15 -05:00 committed by Mark Payne
parent 5d5edfa896
commit 05e9e6eaa5
1 changed files with 3 additions and 0 deletions

View File

@ -755,6 +755,9 @@ public class ProcessGroupResource extends ApplicationResource {
SecurityContextHolder.getContext().setAuthentication(authentication); SecurityContextHolder.getContext().setAuthentication(authentication);
updateVariableRegistryReplicated(groupId, originalUri, activeAffectedProcessors, activeAffectedServices, updateRequest, requestVariableRegistryEntity); updateVariableRegistryReplicated(groupId, originalUri, activeAffectedProcessors, activeAffectedServices, updateRequest, requestVariableRegistryEntity);
// ensure the request is marked complete
updateRequest.setComplete(true);
} catch (final Exception e) { } catch (final Exception e) {
logger.error("Failed to update variable registry", e); logger.error("Failed to update variable registry", e);