Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Commit 4c39b93

Browse files
committed
Docs: removing references to security group in security group rules documentation
1 parent d783aa7 commit 4c39b93

File tree

1 file changed

+4
-4
lines changed
  • openstack/networking/v2/extensions/security/rules

1 file changed

+4
-4
lines changed

openstack/networking/v2/extensions/security/rules/requests.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ type CreateOpts struct {
104104
TenantID string
105105
}
106106

107-
// Create is an operation which provisions a new security group with default
108-
// security group rules for the IPv4 and IPv6 ether types.
107+
// Create is an operation which adds a new security group rule and associates it
108+
// with an existing security group (whose ID is specified in CreateOpts).
109109
func Create(c *gophercloud.ServiceClient, opts CreateOpts) CreateResult {
110110
var res CreateResult
111111

@@ -159,14 +159,14 @@ func Create(c *gophercloud.ServiceClient, opts CreateOpts) CreateResult {
159159
return res
160160
}
161161

162-
// Get retrieves a particular security group based on its unique ID.
162+
// Get retrieves a particular security group rule based on its unique ID.
163163
func Get(c *gophercloud.ServiceClient, id string) GetResult {
164164
var res GetResult
165165
_, res.Err = c.Get(resourceURL(c, id), &res.Body, nil)
166166
return res
167167
}
168168

169-
// Delete will permanently delete a particular security group based on its unique ID.
169+
// Delete will permanently delete a particular security group rule based on its unique ID.
170170
func Delete(c *gophercloud.ServiceClient, id string) DeleteResult {
171171
var res DeleteResult
172172
_, res.Err = c.Delete(resourceURL(c, id), nil)

0 commit comments

Comments
 (0)