This is an automated email from the ASF dual-hosted git repository.
shwstppr pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/main by this push:
new 32f379270c1 Register managed user data using POST call from UI (to
support user data content > 4096 bytes) (#8487)
32f379270c1 is described below
commit 32f379270c165b77e02f93c118ef352734af39a4
Author: Suresh Kumar Anaparti <[email protected]>
AuthorDate: Wed Jan 10 12:06:12 2024 +0530
Register managed user data using POST call from UI (to support user data
content > 4096 bytes) (#8487)
This PR allows to register managed user data using POST call from UI (to
support user data content > 4096 bytes).
Partially fixes #8415
---
ui/src/views/compute/RegisterUserData.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/src/views/compute/RegisterUserData.vue
b/ui/src/views/compute/RegisterUserData.vue
index a1322a12832..990e59ff277 100644
--- a/ui/src/views/compute/RegisterUserData.vue
+++ b/ui/src/views/compute/RegisterUserData.vue
@@ -211,7 +211,7 @@ export default {
params.params = userdataparams
}
- api('registerUserData', params).then(json => {
+ api('registerUserData', {}, 'POST', params).then(json => {
this.$message.success(this.$t('message.success.register.user.data')
+ ' ' + values.name)
}).catch(error => {
this.$notifyError(error)