Skip to content

Commit

Permalink
docs: add note to resource description local_group_resource
Browse files Browse the repository at this point in the history
  • Loading branch information
d-strobel committed Oct 18, 2024
1 parent 059630f commit f74f699
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions docs/resources/local_group.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ description: |-
<!-- resource description generated from schema -->
Manage local security groups.

**Note:** The description default is a string with a space.
This is necessary because the powershell function Set-LocalGroup does not allow an empty string.
-> The description default is a string with a space. This is necessary because the powershell function Set-LocalGroup does not allow an empty string.
<!-- examples generated from example files -->
## Example Usage

Expand Down
3 changes: 1 addition & 2 deletions internal/provider/local/local_group_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ func (r *localGroupResource) Schema(ctx context.Context, req resource.SchemaRequ
resp.Schema = resource_local_group.LocalGroupResourceSchema(ctx)
resp.Schema.Description = `Manage local security groups.
**Note:** The description default is a string with a space.
This is necessary because the powershell function Set-LocalGroup does not allow an empty string.
-> The description default is a string with a space. This is necessary because the powershell function Set-LocalGroup does not allow an empty string.
`
}

Expand Down

0 comments on commit f74f699

Please sign in to comment.