apache / cloudstack-go

CloudStack Go SDK

Home Page:https://cloudstack.apache.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GetTemplateByName with zoneid constraint fails on template in multiple zones

hrak opened this issue · comments

Using GetTemplateByName on a template that is available in multiple zones results in

There is more then one result for Template UUID: 06145677-058a-456a-89a0-af4afd6fffcf!

The problem is that the function calls GetTemplateID with the zoneid constraint, and then calls GetTemplateByID without a zoneid contraint.