mirror of https://github.com/apache/cloudstack.git
ui: pass validated storagepolicy for swift store (#11315)
Fixes #9789 Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
parent
3134efb971
commit
a0fd37f495
|
|
@ -295,8 +295,10 @@ export default {
|
|||
const swiftParams = {
|
||||
account: values.account,
|
||||
username: values.username,
|
||||
key: values.key,
|
||||
storagepolicy: values.storagepolicy
|
||||
key: values.key
|
||||
}
|
||||
if (values.storagepolicy) {
|
||||
swiftParams.storagepolicy = values.storagepolicy
|
||||
}
|
||||
Object.keys(swiftParams).forEach((key, index) => {
|
||||
data['details[' + index.toString() + '].key'] = key
|
||||
|
|
|
|||
Loading…
Reference in New Issue