NIFI-5163 Clearing version control info when creating a template

This closes #2685.

Signed-off-by: Kevin Doran <kdoran@apache.org>
This commit is contained in:
Bryan Bende 2018-05-07 14:46:59 -04:00 committed by Kevin Doran
parent fb48ae2f88
commit a9e85c358c
No known key found for this signature in database
GPG Key ID: 5621A6244B77AC02
1 changed files with 1 additions and 0 deletions

View File

@ -132,6 +132,7 @@ public class TemplateUtils {
processGroupDTO.setStaleCount(null);
processGroupDTO.setLocallyModifiedAndStaleCount(null);
processGroupDTO.setSyncFailureCount(null);
processGroupDTO.setVersionControlInformation(null);
scrubSnippet(processGroupDTO.getContents());
}