Skip to content

Commit 82d91d5

Browse files
authored
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.
1 parent 9a381db commit 82d91d5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

api/src/main/java/org/apache/cloudstack/api/response/HypervisorCapabilitiesResponse.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ public class HypervisorCapabilitiesResponse extends BaseResponse {
6363
@Param(description = "true if VM snapshots are enabled for this hypervisor")
6464
private boolean isVmSnapshotEnabled;
6565

66+
public HypervisorCapabilitiesResponse(){
67+
super("hypervisorcapabilities");
68+
}
69+
6670
public String getId() {
6771
return id;
6872
}

0 commit comments

Comments
 (0)