Skip to content

Commit 35678e6

Browse files
authored
Update sdk_file_end.go.tpl to not use OutputShape name for hook method (#65)
1 parent 599c140 commit 35678e6

File tree

15 files changed

+33
-33
lines changed

15 files changed

+33
-33
lines changed

apis/v1alpha1/ack-generate-metadata.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
ack_generate_info:
2-
build_date: "2021-09-23T18:08:08Z"
3-
build_hash: fe3ca1f5ee52a0e49be0f8458b4e5058a8f0fd47
4-
go_version: go1.15
5-
version: v0.14.1
2+
build_date: "2021-10-11T21:10:37Z"
3+
build_hash: 4b30ff5578e2f570d1c5b1741f3098be0d78e246
4+
go_version: go1.16.5
5+
version: v0.15.1
66
api_directory_checksum: 69c917d1e1ee2b196c23799a02417b920297bc74
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.38.52

config/controller/deployment.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ spec:
2626
- command:
2727
- ./bin/controller
2828
args:
29-
- --aws-account-id
30-
- "$(AWS_ACCOUNT_ID)"
3129
- --aws-region
3230
- "$(AWS_REGION)"
3331
- --enable-development-logging

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/aws-controllers-k8s/elasticache-controller
33
go 1.14
44

55
require (
6-
github.com/aws-controllers-k8s/runtime v0.14.1
6+
github.com/aws-controllers-k8s/runtime v0.15.1
77
github.com/aws/aws-sdk-go v1.38.52
88
github.com/ghodss/yaml v1.0.0
99
github.com/go-logr/logr v0.1.0

go.sum

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo
2323
github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8=
2424
github.com/asaskevich/govalidator v0.0.0-20180720115003-f9ffefc3facf/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY=
2525
github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY=
26-
github.com/aws-controllers-k8s/runtime v0.14.1 h1:2/hCwost9rmtgsgktCtJH75U74ziWiBs0bHFOB2iaKo=
27-
github.com/aws-controllers-k8s/runtime v0.14.1/go.mod h1:kG2WM4JAmLgf67cgZV9IZUkY2DsrUzsaNbmhFMfb05c=
26+
github.com/aws-controllers-k8s/runtime v0.15.1 h1:3P+6MKWe8ITJynmoxmDnMPlkoI9nuVgn8XD9Pt/XHE8=
27+
github.com/aws-controllers-k8s/runtime v0.15.1/go.mod h1:W0Txdhb1Npx5kg72w2WFwIpGFvSsMxXlJzzNHAwCLeY=
2828
github.com/aws/aws-sdk-go v1.37.10/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro=
2929
github.com/aws/aws-sdk-go v1.38.52 h1:7NKcUyTG/CyDX835kq04DDNe8vXaJhbGW8ThemHb18A=
3030
github.com/aws/aws-sdk-go v1.38.52/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro=
@@ -177,6 +177,8 @@ github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJ
177177
github.com/imdario/mergo v0.3.6 h1:xTNEAn+kxVO7dTZGu0CegyqKZmoWFI0rF8UxjlB2d28=
178178
github.com/imdario/mergo v0.3.6/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA=
179179
github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
180+
github.com/jaypipes/envutil v1.0.0 h1:u6Vwy9HwruFihoZrL0bxDLCa/YNadGVwKyPElNmZWow=
181+
github.com/jaypipes/envutil v1.0.0/go.mod h1:vgIRDly+xgBq0eeZRcflOHMMobMwgC6MkMbxo/Nw65M=
180182
github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg=
181183
github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo=
182184
github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8=

helm/templates/deployment.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ spec:
3737
- command:
3838
- ./bin/controller
3939
args:
40-
- --aws-account-id
41-
- "$(AWS_ACCOUNT_ID)"
4240
- --aws-region
4341
- "$(AWS_REGION)"
4442
- --aws-endpoint-url
@@ -63,8 +61,6 @@ spec:
6361
valueFrom:
6462
fieldRef:
6563
fieldPath: metadata.namespace
66-
- name: AWS_ACCOUNT_ID
67-
value: {{ .Values.aws.account_id | quote }}
6864
- name: AWS_REGION
6965
value: {{ .Values.aws.region }}
7066
- name: AWS_ENDPOINT_URL

helm/values.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ resources:
3838
aws:
3939
# If specified, use the AWS region for AWS API calls
4040
region: ""
41-
account_id: ""
4241
endpoint_url: ""
4342

4443
# log level for the controller

pkg/resource/cache_parameter_group/descriptor.go

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

pkg/resource/cache_subnet_group/descriptor.go

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

pkg/resource/replication_group/custom_update_api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ func (rm *resourceManager) newUpdateShardConfigurationRequestPayload(
522522
shardsConfig = append(shardsConfig, shardConfig)
523523
}
524524
} else if decrease {
525-
for i := 0; i < int(*desiredShardsCount); i++ {
525+
for i := 0; i < int(*desiredShardsCount); i++ {
526526
shardsToRetain = append(shardsToRetain, desired.ko.Status.NodeGroups[i].NodeGroupID)
527527
}
528528
}

pkg/resource/replication_group/custom_update_api_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ func TestCustomModifyReplicationGroup_NodeGroup_available(t *testing.T) {
392392
})
393393
}
394394

395-
func TestCustomModifyReplicationGroup_ScaleUpAndDown_And_Resharding(t *testing.T) {
395+
func TestCustomModifyReplicationGroup_ScaleUpAndDown_And_Resharding(t *testing.T) {
396396
assert := assert.New(t)
397397

398398
// Tests

0 commit comments

Comments
 (0)