mirror of https://github.com/apache/cloudstack.git
api: Return object name in the listHypervisorCapabilities API (#6771)
The hypervisorCapabilitiesResponse does not set an object name, returning a null object name instead. This PR adds an object name to the response.
This commit is contained in:
parent
9a381db956
commit
82d91d596b
|
|
@ -63,6 +63,10 @@ public class HypervisorCapabilitiesResponse extends BaseResponse {
|
|||
@Param(description = "true if VM snapshots are enabled for this hypervisor")
|
||||
private boolean isVmSnapshotEnabled;
|
||||
|
||||
public HypervisorCapabilitiesResponse(){
|
||||
super("hypervisorcapabilities");
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue