Fix errors of changing different source when creating new PVC

This commit is contained in:
Aaron 2018-03-28 20:13:03 +08:00
parent d4c41024aa
commit 991378665c
6 changed files with 7 additions and 7 deletions

View File

@ -5,7 +5,7 @@
editing=editing
valueLabel="cruPersistentVolume.cephfs.monitors.label"
addActionLabel="cruPersistentVolume.cephfs.monitors.addActionLabel"
changed=(action "updateOptions" "monitors")
changed=(action (mut config.monitors))
}}
</div>

View File

@ -39,7 +39,7 @@
editing=editing
valueLabel="cruPersistentVolume.fc.targetWWNs.label"
addActionLabel="cruPersistentVolume.fc.targetWWNs.addActionLabel"
changed=(action "updateOptions" "targetWWNs")
changed=(action (mut config.targetWWNs))
}}
</div>
</div>
@ -51,7 +51,7 @@
editing=editing
valueLabel="cruPersistentVolume.fc.wwids.label"
addActionLabel="cruPersistentVolume.fc.wwids.addActionLabel"
changed=(action "updateOptions" "wwids")
changed=(action (mut config.wwids))
}}
</div>
</div>

View File

@ -21,7 +21,7 @@
editing=editing
header=(t 'cruPersistentVolume.flexVolume.options.label')
addActionLabel="cruPersistentVolume.flexVolume.options.addActionLabel"
changed=(action "updateOptions" "options")
changed=(action (mut config.options))
}}
</div>

View File

@ -81,7 +81,7 @@
editing=editing
valueLabel="cruPersistentVolume.iscsi.portals.label"
addActionLabel="cruPersistentVolume.iscsi.portals.addActionLabel"
changed=(action "updateOptions" "portals")
changed=(action (mut config.portals))
}}
</div>
</div>

View File

@ -28,7 +28,7 @@
editing=editing
valueLabel="cruPersistentVolume.rbd.monitors.label"
addActionLabel="cruPersistentVolume.rbd.monitors.addActionLabel"
changed=(action "updateOptions" "monitors")
changed=(action (mut config.monitors))
}}
</div>
</div>

View File

@ -69,7 +69,7 @@
initialItems=config.items
secretId=config.secretId
editing=editing
changed=(action "updateOptions" "items")
changed=(action (mut config.items))
}}
</div>
</div>