Skip to content

Commit ba5c9bb

Browse files
author
Floran Brutel
committed
Fix "create_server_with_keypair" sample
1 parent 63c1cb1 commit ba5c9bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

samples/Compute/create_server_with_keypair.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
$response = $server->create(array(
4141
'name' => '{serverName}',
4242
'imageId' => '{imageId}',
43-
'flavorId' => '{flavorId}'
43+
'flavorId' => '{flavorId}',
44+
'keypair' => '{keypairName}'
4445
));
4546
} catch (BadResponseException $e) {
4647
echo $e->getResponse();

0 commit comments

Comments
 (0)