mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
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")
|
@Param(description = "true if VM snapshots are enabled for this hypervisor")
|
||||||
private boolean isVmSnapshotEnabled;
|
private boolean isVmSnapshotEnabled;
|
||||||
|
|
||||||
|
public HypervisorCapabilitiesResponse(){
|
||||||
|
super("hypervisorcapabilities");
|
||||||
|
}
|
||||||
|
|
||||||
public String getId() {
|
public String getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user