mirror of
https://github.com/apache/nifi.git
synced 2025-02-09 19:45:09 +00:00
NIFI-11105: This closes #6895. When mapping Parameter Context to VersionedParameterContext, don't bother mapping those that have already been mapped, as it is redundant
Signed-off-by: Joe Witt <joewitt@apache.org>
This commit is contained in:
parent
41649660be
commit
d9f35b8974
@ -879,6 +879,10 @@ public class NiFiRegistryFlowMapper {
|
||||
|
||||
private void mapParameterContext(final ParameterContext parameterContext, final Map<String, VersionedParameterContext> parameterContexts,
|
||||
final Map<String, ParameterProviderReference> parameterProviderReferences) {
|
||||
if (parameterContexts.containsKey(parameterContext.getName())) {
|
||||
return;
|
||||
}
|
||||
|
||||
// map this process group's parameter context and add to the collection
|
||||
final Set<VersionedParameter> parameters = mapParameters(parameterContext);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user