NIFI-2792 - Ensuring the flow is saved when a template is deleted.

This closes #1031.
This commit is contained in:
Matt Gilman 2016-09-19 15:28:55 -04:00 committed by Pierre Villard
parent 930e95aa00
commit 684f417406
1 changed files with 2 additions and 1 deletions

View File

@ -1230,8 +1230,9 @@ public class StandardNiFiServiceFacade implements NiFiServiceFacade {
@Override
public void deleteTemplate(final String id) {
// create the template
// delete the template and save the flow
templateDAO.deleteTemplate(id);
controllerFacade.save();
}
@Override