File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -664,7 +664,7 @@ public function getHypervisors(): array
664
664
'path ' => 'os-hypervisors ' ,
665
665
'jsonKey ' => 'hypervisors ' ,
666
666
'params ' => [
667
- 'limit ' => $ this ->params ->limit (),
667
+ 'limit ' => $ this ->params ->limit (),
668
668
'marker ' => $ this ->params ->marker ()
669
669
],
670
670
];
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ class Server extends OperatorResource implements
107
107
*/
108
108
public function create (array $ userOptions ): Creatable
109
109
{
110
- if (!isset ($ userOptions ['imageId ' ]) && !isset ($ userOptions ['blockDeviceMapping ' ]['uuid ' ])) {
110
+ if (!isset ($ userOptions ['imageId ' ]) && !isset ($ userOptions ['blockDeviceMapping ' ][0 ][ 'uuid ' ])) {
111
111
throw new \RuntimeException ('imageId or blockDeviceMapping.uuid must be set. ' );
112
112
}
113
113
You can’t perform that action at this time.
0 commit comments