Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Fix both policies being annotated as "outer".
  • Loading branch information
martincostello committed Jan 13, 2024
1 parent 7e91a18 commit ce95e74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/migration-v8.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ In v8, there's no need to use policy wrap explicitly. Instead, policy wrapping i
```cs
// The "PolicyWrap" is integrated directly. The strategies are executed in the following order:
// 1. Retry <== outer
// 2. Timeout <== outer
// 2. Timeout <== inner
ResiliencePipeline pipeline = new ResiliencePipelineBuilder()
.AddRetry(new()
{
Expand Down
2 changes: 1 addition & 1 deletion src/Snippets/Docs/Migration.Wrap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public static void PolicyWrap_V8()

// The "PolicyWrap" is integrated directly. The strategies are executed in the following order:
// 1. Retry <== outer
// 2. Timeout <== outer
// 2. Timeout <== inner
ResiliencePipeline pipeline = new ResiliencePipelineBuilder()
.AddRetry(new()
{
Expand Down

0 comments on commit ce95e74

Please sign in to comment.