FelipeM525 opened a new pull request, #9731:
URL: https://github.com/apache/cloudstack/pull/9731
### Description
Currently in ACS, when editing a VM, the field userdata will be present even
if the VM's network does not support the feature. This PR fixes this issue by
not showing the field if the VM does not offer userdata.
### Types of changes
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] New feature (non-breaking change which adds functionality)
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] Enhancement (improves an existing feature and functionality)
- [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
- [ ] build/CI
- [ ] test (unit or integration test code)
### Feature/Enhancement Scale or Bug Severity
#### Feature/Enhancement Scale
- [ ] Major
- [ ] Minor
#### Bug Severity
- [ ] BLOCKER
- [ ] Critical
- [ ] Major
- [ ] Minor
- [x] Trivial
### Screenshots (if appropriate):
### How Has This Been Tested?
I tested this by verifying if the userdata field would still show up in the
Edit VM View when editing VMs whose networks did not offer userdata, and it
worked as expected. I've also tested cases in which a VM could have more than
one network, and for these cases it will consider the default network and
disregard the other networks.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]