mirror of https://github.com/apache/cloudstack.git
bug 5873: Checking if scmbug works
status 5873: resolved fixed
This commit is contained in:
parent
b2942572e7
commit
9f8d515b2e
|
|
@ -192,6 +192,6 @@ public interface ResponseGenerator {
|
|||
|
||||
Long getSecurityGroupId(String groupName, long accountId);
|
||||
|
||||
List<TemplateResponse> createIsoResponses(long isoId, long zoneId, boolean readyOnly);
|
||||
List<TemplateResponse> createIsoResponses(long isoId, Long zoneId, boolean readyOnly);
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -163,5 +163,6 @@ public class ListIsosCmd extends BaseListCmd {
|
|||
}
|
||||
response.setResponses(templateResponses);
|
||||
response.setResponseName(getCommandName());
|
||||
this.setResponseObject(response);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1362,7 +1362,7 @@ public class ApiResponseHelper implements ResponseGenerator {
|
|||
|
||||
|
||||
@Override
|
||||
public List<TemplateResponse> createIsoResponses(long isoId, long zoneId, boolean readyOnly) {
|
||||
public List<TemplateResponse> createIsoResponses(long isoId, Long zoneId, boolean readyOnly) {
|
||||
VirtualMachineTemplate iso = findTemplateById(isoId);
|
||||
List<TemplateResponse> isoResponses = new ArrayList<TemplateResponse>();
|
||||
if ( iso.getTemplateType() == TemplateType.PERHOST) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue