Skip to content

Documentation bug for security groups #345

@palaueb

Description

@palaueb

On the link https://php-opencloudopenstack.readthedocs.io/en/latest/services/compute/v2/servers.html#security-groups

the documentation says that we set the security groups by this way:

$options['securityGroups'] = ['secGroup1', 'default', 'secGroup2'];

But it returns error, it may be this way:

$options['securityGroups'] = [
   ['name'=>'secGroup1'],
   ['name'=>'default'],
   ['name'=>'secGroup2']
];

Can we change it? thanks!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions