Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cloudstack/ClusterService.go
Original file line number Diff line number Diff line change
Expand Up @@ -2686,7 +2686,7 @@ func (s *ClusterService) ListClustersMetrics(p *ListClustersMetricsParams) (*Lis

type ListClustersMetricsResponse struct {
Count int `json:"count"`
ClustersMetrics []*ClustersMetric `json:"clustersmetric"`
ClustersMetrics []*ClustersMetric `json:"cluster"`
}

type ClustersMetric struct {
Expand Down
2 changes: 1 addition & 1 deletion cloudstack/HostService.go
Original file line number Diff line number Diff line change
Expand Up @@ -4118,7 +4118,7 @@ func (s *HostService) ListHostsMetrics(p *ListHostsMetricsParams) (*ListHostsMet

type ListHostsMetricsResponse struct {
Count int `json:"count"`
HostsMetrics []*HostsMetric `json:"hostsmetric"`
HostsMetrics []*HostsMetric `json:"host"`
}

type HostsMetric struct {
Expand Down
2 changes: 1 addition & 1 deletion cloudstack/InfrastructureUsageService.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func (s *InfrastructureUsageService) ListDbMetrics(p *ListDbMetricsParams) (*Lis
}

type ListDbMetricsResponse struct {
DbMetrics DbMetric `json:"dbMetrics"`
DbMetrics DbMetric `json:"db"`
}

type DbMetric struct {
Expand Down
2 changes: 1 addition & 1 deletion cloudstack/UsageService.go
Original file line number Diff line number Diff line change
Expand Up @@ -2129,7 +2129,7 @@ func (s *UsageService) ListUsageServerMetrics(p *ListUsageServerMetricsParams) (

type ListUsageServerMetricsResponse struct {
Count int `json:"count"`
UsageServerMetrics []*UsageServerMetric `json:"usageservermetric"`
UsageServerMetrics []*UsageServerMetric `json:"usageserver"`
}

type UsageServerMetric struct {
Expand Down
2 changes: 1 addition & 1 deletion cloudstack/VolumeService.go
Original file line number Diff line number Diff line change
Expand Up @@ -4466,7 +4466,7 @@ func (s *VolumeService) ListVolumesMetrics(p *ListVolumesMetricsParams) (*ListVo

type ListVolumesMetricsResponse struct {
Count int `json:"count"`
VolumesMetrics []*VolumesMetric `json:"volumesmetric"`
VolumesMetrics []*VolumesMetric `json:"volume"`
}

type VolumesMetric struct {
Expand Down
2 changes: 1 addition & 1 deletion cloudstack/ZoneService.go
Original file line number Diff line number Diff line change
Expand Up @@ -3076,7 +3076,7 @@ func (s *ZoneService) ListZonesMetrics(p *ListZonesMetricsParams) (*ListZonesMet

type ListZonesMetricsResponse struct {
Count int `json:"count"`
ZonesMetrics []*ZonesMetric `json:"zonesmetric"`
ZonesMetrics []*ZonesMetric `json:"zone"`
}

type ZonesMetric struct {
Expand Down