mirror of https://github.com/apache/nifi.git
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:
parent
5d5edfa896
commit
05e9e6eaa5
|
@ -755,6 +755,9 @@ public class ProcessGroupResource extends ApplicationResource {
|
|||
SecurityContextHolder.getContext().setAuthentication(authentication);
|
||||
|
||||
updateVariableRegistryReplicated(groupId, originalUri, activeAffectedProcessors, activeAffectedServices, updateRequest, requestVariableRegistryEntity);
|
||||
|
||||
// ensure the request is marked complete
|
||||
updateRequest.setComplete(true);
|
||||
} catch (final Exception e) {
|
||||
logger.error("Failed to update variable registry", e);
|
||||
|
||||
|
|
Loading…
Reference in New Issue