Skip to content

Commit

Permalink
docs: fixed doc for function scaling type
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-s committed Jun 30, 2024
1 parent 44e48ae commit 6e81c76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/resources/function.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Required:

- `high` (Number) Upper bound for scaling.
- `low` (Number) Lower bound for scaling.
- `type` (String) Type of scaling (e.g., automatic, manual).
- `type` (String) Type of scaling (can be either CPU or Memory).


<a id="nestedatt--size"></a>
Expand Down
2 changes: 1 addition & 1 deletion internal/resources/resource_function.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func (r *FunctionResource) Schema(_ context.Context, _ resource.SchemaRequest, r
Attributes: map[string]schema.Attribute{
"type": schema.StringAttribute{
Required: true,
Description: "Type of scaling (e.g., automatic, manual).",
Description: "Type of scaling (can be either CPU or Memory).",
},
"low": schema.Int64Attribute{
Required: true,
Expand Down

0 comments on commit 6e81c76

Please sign in to comment.