Skip to content

Commit b3f8cd7

Browse files
authored
Merge pull request #4464 from antontroshin/fix-resiliency-typo
Fix resiliency example typo
2 parents 780c018 + 4430229 commit b3f8cd7

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

daprdocs/content/en/operations/resiliency/policies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ spec:
9696
policy: constant
9797
duration: 5s
9898
maxRetries: 3
99-
matches:
99+
matching:
100100
httpStatusCodes: "429,500-599" # retry the HTTP status codes in this range. All others are not retried.
101101
gRPCStatusCodes: "1-4,8-11,13,14" # retry gRPC status codes in these ranges and separate single codes.
102102
```

daprdocs/content/en/reference/resource-specs/resiliency-schema.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ spec:
3232
duration: <REPLACE-WITH-VALUE>
3333
maxInterval: <REPLACE-WITH-VALUE>
3434
maxRetries: <REPLACE-WITH-VALUE>
35+
matching:
36+
httpStatusCodes: <REPLACE-WITH-VALUE>
37+
gRPCStatusCodes: <REPLACE-WITH-VALUE>
3538
circuitBreakers:
3639
circuitBreakerName: # Replace with any unique name
3740
maxRequests: <REPLACE-WITH-VALUE>

0 commit comments

Comments
 (0)