FelipeM525 commented on code in PR #9731:
URL: https://github.com/apache/cloudstack/pull/9731#discussion_r1777720070
##########
ui/src/views/compute/EditVM.vue:
##########
@@ -289,15 +290,35 @@ export default {
return decodedData.toString('utf-8')
},
fetchUserData () {
- const params = {
- id: this.resource.id,
- userdata: true
+ let networkId
+ this.resource.nic.forEach(nic => {
+ if (nic.isdefault) {
+ networkId = nic.networkid
+ }
+ })
+ if (!networkId) {
+ return
+ }
+ const listNetworkParams = {
+ id: networkId
Review Comment:
Hello @weizhouapache , I did not quite understand your question; do you want
me to add a `listall: true` as a parameter in the request? Could you give me
some details on why this is needed?
--
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]