Преглед на файлове

Merge pull request #587 from smiclea/fix-ceph-options

Fix CEPH options not working properly
Nashwan Azhari преди 5 години
родител
ревизия
9459ef261c
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      src/plugins/endpoint/openstack/ConnectionSchemaPlugin.ts

+ 2 - 0
src/plugins/endpoint/openstack/ConnectionSchemaPlugin.ts

@@ -56,6 +56,8 @@ export default class ConnectionSchemaParser {
       identityField.default = identityField.minimum
       identityField.default = identityField.minimum
     }
     }
 
 
+    fields.find(f => f.name === 'ceph_options')?.properties?.forEach(f => { f.name = `ceph_options/${f.name}` })
+
     const createInputChoice = (name: string, field1Name: string, field2Name: string) => {
     const createInputChoice = (name: string, field1Name: string, field2Name: string) => {
       const field1 = fields.find(f => f.name === field1Name)
       const field1 = fields.find(f => f.name === field1Name)
       const field2 = fields.find(f => f.name === field2Name)
       const field2 = fields.find(f => f.name === field2Name)