diff --git a/docs/migration-v8.md b/docs/migration-v8.md index e68cbaf4d59..304497f688c 100644 --- a/docs/migration-v8.md +++ b/docs/migration-v8.md @@ -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() { diff --git a/src/Snippets/Docs/Migration.Wrap.cs b/src/Snippets/Docs/Migration.Wrap.cs index af7c08162a9..86993620ae6 100644 --- a/src/Snippets/Docs/Migration.Wrap.cs +++ b/src/Snippets/Docs/Migration.Wrap.cs @@ -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() {