Skip to content
This repository was archived by the owner on Dec 14, 2022. It is now read-only.

Commit 8f3da22

Browse files
author
Chris Wiechmann
committed
Bugfix.
1 parent 9f64fd6 commit 8f3da22

File tree

1 file changed

+0
-3
lines changed
  • apibuilder4elastic/custom_flow_nodes/api-builder-plugin-axway-api-management/src

1 file changed

+0
-3
lines changed

apibuilder4elastic/custom_flow_nodes/api-builder-plugin-axway-api-management/src/customProperties.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ async function mergeCustomProperties(params, options) {
6262
return false;
6363
} else {
6464
options.logger.info(`Update required for custom property: ${customPropertyName}.`);
65-
if(customPropertiesSettings.parent && !desiredTemplate.mappings.properties[customPropertiesSettings.parent]) {
66-
desiredTemplate.mappings.properties[customPropertiesSettings.parent] = {};
67-
}
6865
if(type == "custom") {
6966
desiredTemplate.mappings.properties[`${customPropertiesSettings.parent}customProperties.${customPropertyName}`] = { type: "text", norms: false, fields: { "keyword": { type: "keyword"} } };
7067
} else {

0 commit comments

Comments
 (0)