Skip to content

Commit 321d59d

Browse files
committed
lowercase images for all other runtimes
1 parent eea8634 commit 321d59d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Unicorn.Properties/StateMachine/PropertyApproval.asl.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ States:
2222
Comment: >-
2323
ContractExistsChecker checks to see if a contract for a specified
2424
property exists.
25-
25+
2626
NotFound:
2727
Type: Fail
2828

@@ -46,9 +46,9 @@ States:
4646
Comment: >-
4747
Loop through all the images for the property and ensure they don't have
4848
unsafe content.
49-
ItemsPath: "$.detail.Images"
49+
ItemsPath: "$.detail.images"
5050
ResultPath: "$.ImageModerations"
51-
51+
5252
CheckDescriptionSentiment:
5353
Type: Task
5454
Parameters:
@@ -62,7 +62,7 @@ States:
6262
Type: Task
6363
Resource: arn:aws:states:::lambda:invoke
6464
ResultPath: "$.ValidationCheck"
65-
ResultSelector :
65+
ResultSelector:
6666
ValidationResult.$: "$.Payload.ValidationResult"
6767
Parameters:
6868
Payload.$: $
@@ -80,9 +80,9 @@ States:
8080
IsContentSafe:
8181
Type: Choice
8282
Choices:
83-
- Variable: $.ValidationCheck.ValidationResult
84-
StringEquals: PASS
85-
Next: WaitForContractApproval
83+
- Variable: $.ValidationCheck.ValidationResult
84+
StringEquals: PASS
85+
Next: WaitForContractApproval
8686
Default: PublicationEvaluationCompletedDeclined
8787

8888
PublicationEvaluationCompletedDeclined:
@@ -99,7 +99,7 @@ States:
9999
Next: Declined
100100
Declined:
101101
Type: Succeed
102-
102+
103103
WaitForContractApproval:
104104
Type: Task
105105
Resource: arn:aws:states:::lambda:invoke.waitForTaskToken

0 commit comments

Comments
 (0)