hooklee2000 opened a new issue, #7698:
URL: https://github.com/apache/cloudstack/issues/7698
##### ISSUE TYPE
<!-- Pick one below and delete the rest -->
* Bug Report
##### COMPONENT NAME
UI
##### CLOUDSTACK VERSION
4.18.0.0
##### CONFIGURATION
basic network, advanced networking
##### OS / ENVIRONMENT
CentOS7
##### SUMMARY
ZoneWizardLaunchZone created pod cluster name with zone name suffix,
ignored inputing value
##### STEPS TO REPRODUCE
1、add zone with name zone1
2、input pod with name myPod1
3、input cluster with name myCluster1
##### EXPECTED RESULTS
created pod with name myPod1
created cluster with name myCluster1
~~~
##### ACTUAL RESULTS
created pod with name Pod-zone1
created cluster with name Cluster-zone1
##### How to fix it
need to surround ?: with () in
ui/src/views/infra/zone/ZoneWizardLaunchZone.vue
:838 params.name = this.prefillContent?.podName ||
(this.stepData.zoneReturned.type === 'Edge' ? 'Pod-' +
this.stepData.zoneReturned.name : null)
:1221 let clusterName = this.prefillContent.clusterName ||
(this.stepData.zoneReturned.type === 'Edge' ? 'Cluster-' +
this.stepData.zoneReturned.name : null)
--
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]