From d6a0b7ff17556f6797ee26c379735b3a8ac16611 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Mon, 4 Mar 2024 08:50:38 +0000 Subject: [PATCH] style: format code with Gofumpt and Prettier This commit fixes the style issues introduced in aba46a8 according to the output from Gofumpt and Prettier. Details: None --- docs/api/flush.md | 15 +++++++-------- docs/tutorial/get-started.md | 4 ++-- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/docs/api/flush.md b/docs/api/flush.md index 93c8ce6761..fb5b4478bf 100644 --- a/docs/api/flush.md +++ b/docs/api/flush.md @@ -31,7 +31,6 @@ Flush RPC is the method to remove all vectors. empty - ### Output - the scheme of `payload.v1.Info.Index.Count` @@ -47,14 +46,14 @@ Flush RPC is the method to remove all vectors. } ``` - Object.Info_Index_Count + Object.Info_Index_Count - | field | type | label | desc. | - | :---------: |:------ | :---- | :------------------------------------------------------------------------- | - | stored | uint32 | | count of indices. | - | uncommitted | uint32 | | count of uncommitted indices. | - | indexing | bool | | the state indicating whether `vald-agent` pods is present in the indexing. | - | saving | bool | | the state indicating whether `vald-agent` pods is present in the saving. | + | field | type | label | desc. | + | :---------: | :----- | :---- | :------------------------------------------------------------------------- | + | stored | uint32 | | count of indices. | + | uncommitted | uint32 | | count of uncommitted indices. | + | indexing | bool | | the state indicating whether `vald-agent` pods is present in the indexing. | + | saving | bool | | the state indicating whether `vald-agent` pods is present in the saving. | ### Status Code diff --git a/docs/tutorial/get-started.md b/docs/tutorial/get-started.md index 0f5792ff59..eba3a46309 100644 --- a/docs/tutorial/get-started.md +++ b/docs/tutorial/get-started.md @@ -443,8 +443,8 @@ If you are interested, please refer to [SDKs](../user-guides/sdks.md).
```go _, err := client.Flush(ctx, &payload.Flush_Request{}) if err != nil { - glg.Fatal(err) - } + glg.Fatal(err) + } ```