Skip to content

Commit aa9c798

Browse files
committed
small fixups
1 parent 314367c commit aa9c798

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.githooks/pre-commit

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
set -e
22

33
echo "Running pre-commit hook"
4-
make fmt
54
make build
65
go generate ./...
76
# Add examples and docs files to git after documentation is generated

docs/resources/deployment.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Deployment resource
4343
- `scheduler_replicas` (Number) Deployment scheduler replicas - required for 'HYBRID' deployments
4444
- `scheduler_size` (String) Deployment scheduler size - required for 'STANDARD' and 'DEDICATED' deployments
4545
- `task_pod_node_pool_id` (String) Deployment task pod node pool identifier - required if executor is 'KUBERNETES' and type is 'HYBRID'
46-
- `worker_queues` (Attributes List) Deployment worker queues (see [below for nested schema](#nestedatt--worker_queues))
46+
- `worker_queues` (Attributes List) Deployment worker queues - required for deployments with 'CELERY' executor (see [below for nested schema](#nestedatt--worker_queues))
4747

4848
### Read-Only
4949

internal/provider/schemas/deployment.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ func DeploymentResourceSchemaAttributes() map[string]resourceSchema.Attribute {
202202
NestedObject: resourceSchema.NestedAttributeObject{
203203
Attributes: WorkerQueueResourceSchemaAttributes(),
204204
},
205-
MarkdownDescription: "Deployment worker queues",
205+
MarkdownDescription: "Deployment worker queues - required for deployments with 'CELERY' executor",
206206
Validators: []validator.List{
207207
// Dynamic validation with 'executor' done in the resource.ValidateConfig function
208208
listvalidator.SizeAtLeast(1),

0 commit comments

Comments
 (0)