Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: format code with Gofumpt and Prettier #2432

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions docs/api/flush.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ Flush RPC is the method to remove all vectors.

empty


### Output

- the scheme of `payload.v1.Info.Index.Count`
Expand All @@ -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

Expand Down
4 changes: 2 additions & 2 deletions docs/tutorial/get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -443,8 +443,8 @@ If you are interested, please refer to [SDKs](../user-guides/sdks.md).<br>
```go
_, err := client.Flush(ctx, &payload.Flush_Request{})
if err != nil {
glg.Fatal(err)
}
glg.Fatal(err)
}
```

</details>
Expand Down