Skip to content

Commit c1a516b

Browse files
authored
Signed-off-by: Jay Pipes <[email protected]> By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent a6aaa06 commit c1a516b

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

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/code-generator
33
go 1.19
44

55
require (
6-
github.com/aws-controllers-k8s/pkg v0.0.2
6+
github.com/aws-controllers-k8s/pkg v0.0.3
77
github.com/aws-controllers-k8s/runtime v0.23.0
88
github.com/aws/aws-sdk-go v1.44.93
99
github.com/dlclark/regexp2 v1.4.0 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPd
9090
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs=
9191
github.com/asaskevich/govalidator v0.0.0-20180720115003-f9ffefc3facf/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY=
9292
github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY=
93-
github.com/aws-controllers-k8s/pkg v0.0.2 h1:r6DJOf1TexaEQ+WETjZH31IqO3K4cCukrkvYdzg4ZuA=
94-
github.com/aws-controllers-k8s/pkg v0.0.2/go.mod h1:LC/9DlYrXu8FWNwLquZLq1WhcyRo7qXb7upRLAEosQk=
93+
github.com/aws-controllers-k8s/pkg v0.0.3 h1:Cu2uZEloPH2UwcNpxOTFbgvM63LE90SaUY8siysDicE=
94+
github.com/aws-controllers-k8s/pkg v0.0.3/go.mod h1:LC/9DlYrXu8FWNwLquZLq1WhcyRo7qXb7upRLAEosQk=
9595
github.com/aws-controllers-k8s/runtime v0.23.0 h1:xM/zKyFzqbSr4gN9/cMRyjUUEEezHB0inpcsSV5clkg=
9696
github.com/aws-controllers-k8s/runtime v0.23.0/go.mod h1:vBsKxMSP7Ya2Mv5KPGadu6OuIESTX+YIZB/2dOV7gXo=
9797
github.com/aws/aws-sdk-go v1.44.93 h1:hAgd9fuaptBatSft27/5eBMdcA8+cIMqo96/tZ6rKl8=

pkg/generate/code/set_resource_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2773,7 +2773,7 @@ func TestSetResource_SQS_Queue_GetAttributes(t *testing.T) {
27732773
ko.Spec.ContentBasedDeduplication = resp.Attributes["ContentBasedDeduplication"]
27742774
ko.Status.CreatedTimestamp = resp.Attributes["CreatedTimestamp"]
27752775
ko.Spec.DelaySeconds = resp.Attributes["DelaySeconds"]
2776-
ko.Spec.FifoQueue = resp.Attributes["FifoQueue"]
2776+
ko.Spec.FIFOQueue = resp.Attributes["FifoQueue"]
27772777
ko.Spec.KMSDataKeyReusePeriodSeconds = resp.Attributes["KmsDataKeyReusePeriodSeconds"]
27782778
ko.Spec.KMSMasterKeyID = resp.Attributes["KmsMasterKeyId"]
27792779
ko.Status.LastModifiedTimestamp = resp.Attributes["LastModifiedTimestamp"]

pkg/generate/code/set_sdk_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1725,8 +1725,8 @@ func TestSetSDK_SQS_Queue_Create(t *testing.T) {
17251725
if r.ko.Spec.DelaySeconds != nil {
17261726
attrMap["DelaySeconds"] = r.ko.Spec.DelaySeconds
17271727
}
1728-
if r.ko.Spec.FifoQueue != nil {
1729-
attrMap["FifoQueue"] = r.ko.Spec.FifoQueue
1728+
if r.ko.Spec.FIFOQueue != nil {
1729+
attrMap["FifoQueue"] = r.ko.Spec.FIFOQueue
17301730
}
17311731
if r.ko.Spec.KMSDataKeyReusePeriodSeconds != nil {
17321732
attrMap["KmsDataKeyReusePeriodSeconds"] = r.ko.Spec.KMSDataKeyReusePeriodSeconds

pkg/model/model_sqs_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func TestSQS_Queue(t *testing.T) {
6262
expSpecFieldCamel := []string{
6363
"ContentBasedDeduplication",
6464
"DelaySeconds",
65-
"FifoQueue",
65+
"FIFOQueue",
6666
"KMSDataKeyReusePeriodSeconds",
6767
"KMSMasterKeyID",
6868
"MaximumMessageSize",

0 commit comments

Comments
 (0)