Consider other conditions while listing templates with id#4452
Consider other conditions while listing templates with id#4452DaanHoogland merged 2 commits intoapache:masterapache/cloudstack:masterfrom
Conversation
Many of the searching conditions are not considered when template id is passed but they are considered only when template id is not passed. Move other conditions out of else part so that they will be considered when id is passed.
DaanHoogland
left a comment
There was a problem hiding this comment.
more diff than changes, code looks good
| // List<HypervisorType> hypers = null; | ||
| // if (!isIso) { | ||
| // hypers = _resourceMgr.listAvailHypervisorInZone(null, null); | ||
| // } | ||
|
|
|
@blueorangutan package |
|
@DaanHoogland a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos7 ✔centos8 ✔debian. JID-2341 |
|
@blueorangutan test |
|
@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-3134)
|
|
@rhtyd simple fix for API usage quirk, can you review? cc @PaulAngus |
Description
Many of the searching conditions are not considered when
template id is passed but they are considered only when
template id is not passed. Move other conditions out of else
part so that they will be considered when id is passed.
Types of changes
Screenshots (if appropriate):
How Has This Been Tested?
Without changes
With changes