Skip to content

Commit

Permalink
Use the proper keyname
Browse files Browse the repository at this point in the history
  • Loading branch information
leondirectvps committed Nov 14, 2022
1 parent 1c4fd07 commit de96551
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Compute/v2/Params.php
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ public function policy(): array
{
return [
'type' => self::STRING_TYPE,
'sendAs' => 'policy',
'sentAs' => 'policy',
'description' => <<<EOL
The rules field, which is a dict, can be applied to the policy. Currently, only the max_server_per_host rule is supported for the anti-affinity policy. The max_server_per_host rule allows specifying how many members of the anti-affinity group can reside on the same compute host. If not specified, only one member from the same anti-affinity group can reside on a given host. Requesting policy rules with any other policy than anti-affinity will be 400.
New in version 2.64
Expand All @@ -718,7 +718,7 @@ public function configDrive(): array
{
return [
'type' => self::BOOLEAN_TYPE,
'sendAs' => 'config_drive',
'sentAs' => 'config_drive',
'description' => <<<EOL
Indicates whether a config drive enables metadata injection. The config_drive setting provides information about a drive that the instance can mount at boot time. The instance reads files from the drive to get information that is normally available through the metadata service. This metadata is different from the user data. Not all cloud providers enable the config_drive.
EOL
Expand Down

0 comments on commit de96551

Please sign in to comment.