瀏覽代碼

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
     }
 
+    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 field1 = fields.find(f => f.name === field1Name)
       const field2 = fields.find(f => f.name === field2Name)