Forum Discussion
ldoodle
10 months agoAdvisor
def user = hostProps.get('vcenter.user') ?: hostProps.get("vcsa.user") ?: hostProps.get("esx.user")
This simply means use vcenter.user if it exists, If not, use vcsa.user if it exists. If not, use esx.user.
yeah I realise that. I’m used to other programming languages from my day job.
Related Content
- 10 months ago
- 3 months ago