Skip to content

Commit f15f8b0

Browse files
committed
Setting json key
1 parent 9b522be commit f15f8b0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Compute/v2/Api.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,8 @@ public function getHypervisors(): array
649649

650650
return [
651651
'method' => 'GET',
652-
'path' => 'os-hypervisors',
652+
'path' => 'os-hypervisors',
653+
'jsonKey' => 'hypervisors',
653654
'params' => [
654655
'limit' => $this->params->limit(),
655656
'marker' => $marker
@@ -668,7 +669,7 @@ public function getHypervisor(): array
668669
{
669670
return [
670671
'method' => 'GET',
671-
'path' => 'os-hypervisor/{id}',
672+
'path' => 'os-hypervisors/{id}',
672673
'params' => ['id' => $this->params->urlId('hypervisor')]
673674
];
674675
}

0 commit comments

Comments
 (0)