Check for proper empty response instead of UnlimitedResourceID
This commit is contained in:
parent
7852248f0e
commit
a9b86636c8
|
@ -238,7 +238,7 @@ func resourceCloudStackTemplateRead(d *schema.ResourceData, meta interface{}) er
|
|||
|
||||
setValueOrUUID(d, "project", t.Project, t.Projectid)
|
||||
|
||||
if t.Zoneid == UnlimitedResourceID {
|
||||
if t.Zoneid == "" {
|
||||
setValueOrUUID(d, "zone", t.Zonename, UnlimitedResourceID)
|
||||
} else {
|
||||
setValueOrUUID(d, "zone", t.Zonename, t.Zoneid)
|
||||
|
|
Loading…
Reference in New Issue