File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ function httpPostCheckConformOnFeatureUpdate(db) {
115115 clusterFeatures,
116116 endpointId,
117117 endpointTypeId,
118- featureMapStorageOption ,
118+ storageOption ,
119119 changeConfirmed
120120 } = request . body
121121
@@ -137,7 +137,7 @@ function httpPostCheckConformOnFeatureUpdate(db) {
137137 featureData ,
138138 endpointId ,
139139 clusterFeatures ,
140- featureMapStorageOption
140+ storageOption
141141 )
142142
143143 if ( changeConfirmed || result . disableChange ) {
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ function generateWarningMessage(
5151 descElements = { } ,
5252 featuresToUpdate = { } ,
5353 changedConformFeatures = [ ] ,
54- featureMapStorageOption = null ,
54+ storageOption = null ,
5555 attributes = [ ]
5656) {
5757 // feature change is disabled by default before the checks
@@ -75,7 +75,7 @@ function generateWarningMessage(
7575 let updateDisabledString = `cannot be ${ added ? 'enabled' : 'disabled' } as`
7676
7777 // Check 0: if the featureMap attribute storage is external, ZAP cannot modify it
78- if ( featureMapStorageOption === dbEnum . storageOption . external ) {
78+ if ( storageOption === dbEnum . storageOption . external ) {
7979 result . warningMessage . push (
8080 warningPrefix +
8181 ` ${ updateDisabledString } the featureMap attribute in the cluster is external and ZAP does not have control over it.`
@@ -282,7 +282,7 @@ function checkElementConformance(
282282 featureData = null ,
283283 endpointId = null ,
284284 clusterFeatures = null ,
285- featureMapStorageOption = null
285+ storageOption = null
286286) {
287287 let { attributes, commands, events } = elements
288288 let featureCode = featureData ? featureData . code : ''
@@ -338,7 +338,7 @@ function checkElementConformance(
338338 descElements ,
339339 featuresToUpdate ,
340340 changedConformFeatures ,
341- featureMapStorageOption ,
341+ storageOption ,
342342 attributes
343343 )
344344
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ export default {
117117 clusterFeatures : this . clusterFeatures ,
118118 endpointId : this . endpointId [ this . selectedEndpointId ] ,
119119 endpointTypeId : this . selectedEndpointTypeId ,
120- featureMapStorageOption : this . featureMapAttribute ?. storageOption ,
120+ storageOption : this . featureMapAttribute ?. storageOption ,
121121 changeConfirmed : false
122122 } ) . then ( ( res ) => {
123123 // store backend response and frontend data for reuse if updates are confirmed
@@ -229,7 +229,7 @@ export default {
229229 clusterFeatures : this . clusterFeatures ,
230230 endpointId : this . endpointId [ this . selectedEndpointId ] ,
231231 endpointTypeId : this . selectedEndpointTypeId ,
232- featureMapStorageOption : this . featureMapAttribute ?. storageOption ,
232+ storageOption : this . featureMapAttribute ?. storageOption ,
233233 changeConfirmed : true
234234 } )
235235 if ( this . displayWarning ) {
You can’t perform that action at this time.
0 commit comments