mirror of https://github.com/apache/nifi.git
NIFI-2792 - Ensuring the flow is saved when a template is deleted.
This closes #1031.
This commit is contained in:
parent
930e95aa00
commit
684f417406
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue