From 56bb4716f195905445ccaba8a78ac6fa22dd1111 Mon Sep 17 00:00:00 2001 From: lgbgbl <65756378+lgbgbl@users.noreply.github.com> Date: Sat, 7 Oct 2023 10:33:28 +0800 Subject: [PATCH] docs: remove unused import (#798) Co-authored-by: Guangming Luo --- .../en/docs/kitex/Tutorials/service-governance/fallback.md | 5 ----- .../zh/docs/kitex/Tutorials/service-governance/fallback.md | 5 ----- 2 files changed, 10 deletions(-) diff --git a/content/en/docs/kitex/Tutorials/service-governance/fallback.md b/content/en/docs/kitex/Tutorials/service-governance/fallback.md index 533d655eaf..65339bb07f 100644 --- a/content/en/docs/kitex/Tutorials/service-governance/fallback.md +++ b/content/en/docs/kitex/Tutorials/service-governance/fallback.md @@ -42,11 +42,6 @@ xxxCli := xxxservice.NewClient("target_service", opts...) ### Call-level configuration ```Go -import ( - "github.com/cloudwego/kitex/pkg/retry" - bretry "code.byted.org/kite/kitex/pkg/retry" -) - xxxCli.XXXMethod(ctx, req, callopt.WithFallback(yourFallbackPolicy)) ``` diff --git a/content/zh/docs/kitex/Tutorials/service-governance/fallback.md b/content/zh/docs/kitex/Tutorials/service-governance/fallback.md index 9d37e63617..1d79657188 100644 --- a/content/zh/docs/kitex/Tutorials/service-governance/fallback.md +++ b/content/zh/docs/kitex/Tutorials/service-governance/fallback.md @@ -42,11 +42,6 @@ xxxCli := xxxservice.NewClient("target_service", opts...) ### 2.2 Call 维度配置 ```Go -import ( -"github.com/cloudwego/kitex/pkg/retry" -bretry "code.byted.org/kite/kitex/pkg/retry" -) - xxxCli.XXXMethod(ctx, req, callopt.WithFallback(yourFallbackPolicy)) ```