Skip to content

Commit 2d7c8ea

Browse files
authored
Fix generator.yaml: rename operation to method in set configs (#202)
The set config blocks for Function.Code and LayerVersion.Content used 'operation' which is not a valid field in SetFieldConfig. Renamed to 'method' which is the correct field name. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent a3c1bff commit 2d7c8ea

4 files changed

Lines changed: 21 additions & 9 deletions

File tree

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ack_generate_info:
2-
build_date: "2026-01-07T18:53:41Z"
3-
build_hash: e743d683160cf0f58a4864e052cdcb0927335ca7
4-
go_version: go1.25.5
5-
version: v0.57.0
2+
build_date: "2026-02-19T00:11:08Z"
3+
build_hash: af61bc1478baf08196fb6e2c81590518a754e45e
4+
go_version: go1.25.6
5+
version: v0.57.0-9-gaf61bc1
66
api_directory_checksum: 3cd2161708148476a53b44162a9e095bf92f91d3
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.38.0
99
generator_config_info:
10-
file_checksum: 93eb58b9906482ad7eae4df0f2d96ec856173deb
10+
file_checksum: c74fa09655df9a0e57fc6ac8606e4f797f799355
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

apis/v1alpha1/generator.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ resources:
105105
is_ignored: false
106106
set:
107107
- ignore: true
108-
operation: ReadOne
108+
method: ReadOne
109109
Layers:
110110
set:
111111
- method: Create
@@ -248,7 +248,7 @@ resources:
248248
is_ignored: true
249249
set:
250250
- ignore: true
251-
operation: ReadOne
251+
method: ReadOne
252252
tags:
253253
ignore: true
254254
hooks:

generator.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ resources:
105105
is_ignored: false
106106
set:
107107
- ignore: true
108-
operation: ReadOne
108+
method: ReadOne
109109
Layers:
110110
set:
111111
- method: Create
@@ -248,7 +248,7 @@ resources:
248248
is_ignored: true
249249
set:
250250
- ignore: true
251-
operation: ReadOne
251+
method: ReadOne
252252
tags:
253253
ignore: true
254254
hooks:

pkg/resource/layer_version/sdk.go

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)