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
664664 'path ' => 'os-hypervisors ' ,
665665 'jsonKey ' => 'hypervisors ' ,
666666 'params ' => [
667- 'limit ' => $ this ->params ->limit (),
667+ 'limit ' => $ this ->params ->limit (),
668668 'marker ' => $ this ->params ->marker ()
669669 ],
670670 ];
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ class Server extends OperatorResource implements
107107 */
108108 public function create (array $ userOptions ): Creatable
109109 {
110- if (!isset ($ userOptions ['imageId ' ]) && !isset ($ userOptions ['blockDeviceMapping ' ]['uuid ' ])) {
110+ if (!isset ($ userOptions ['imageId ' ]) && !isset ($ userOptions ['blockDeviceMapping ' ][0 ][ 'uuid ' ])) {
111111 throw new \RuntimeException ('imageId or blockDeviceMapping.uuid must be set. ' );
112112 }
113113
You can’t perform that action at this time.
0 commit comments