Web console sends each script entry as a base script source
Summary
When more than one script entry is set for a given script during cluster creation, the web console sends each entry as a single script containing all of the sibling entries.
Steps to reproduce
- Enter the web console
- Enter the "Create Cluster" form
- Click on the "ManagedSQL" step
- Create one script with two or more script entries
- Click on create cluster
- The request sent to the API includes one script set for each single script entry
Expected Behaviour
Script Entries from the same parent script should all be sent in a single script set
Possible Solution
Review cleanupScripts
function on the CreateSGClusters.vue
file
Environment
- StackGres version:
1.4.0