Skip to content

Commit

Permalink
style: format code with prettier and gofumpt (#2183)
Browse files Browse the repository at this point in the history
Format code with prettier and gofumpt

This commit fixes the style issues introduced in 9a08508 according to the output
from Prettier and Gofumpt.

Details: None

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
  • Loading branch information
deepsource-autofix[bot] authored Sep 15, 2023
1 parent 9a08508 commit 0855051
Show file tree
Hide file tree
Showing 3 changed files with 866 additions and 867 deletions.
153 changes: 81 additions & 72 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,79 +62,88 @@
- [Helm Operator Chart Reference](https://github.com/vdaas/vald/blob/v1.7.7/charts/vald-helm-operator/README.md)

### Changes
:sparkles: New feature
- Add CopyBuffer to copy.go [#2167](https://github.com/vdaas/vald/pull/2167)
- Add Vald standard internal/sync package [#2153](https://github.com/vdaas/vald/pull/2153)
- Add RemoveByTimestamp RPC [#2158](https://github.com/vdaas/vald/pull/2158)
- Implement StreamListObject and its tests [#2145](https://github.com/vdaas/vald/pull/2145)
- Add apiversion capabilities check to helm template [#2137](https://github.com/vdaas/vald/pull/2137)
- Add timestamp field to Object.Vector [#2136](https://github.com/vdaas/vald/pull/2136)
- Add gache's generic Map as internal/sync.Map and replace standard sync.Map with it [#2115](https://github.com/vdaas/vald/pull/2115)
- Make internal/cache generic [#2104](https://github.com/vdaas/vald/pull/2104)
- Install additional tools for docker image for devcontainer [#2101](https://github.com/vdaas/vald/pull/2101)
- Install buf and apply buf format [#2094](https://github.com/vdaas/vald/pull/2094)
- Add backup origin when CoW enabled and failed to load primary [#2091](https://github.com/vdaas/vald/pull/2091)
- Add decode kvsdb tool [#2059](https://github.com/vdaas/vald/pull/2059)
- Add user custom network policy [#2078](https://github.com/vdaas/vald/pull/2078)

:recycle: Refactor
- Refactor agent ngt core. [#2172](https://github.com/vdaas/vald/pull/2172)
- Refactor proto [#2173](https://github.com/vdaas/vald/pull/2173)
- Refactor search status [#2168](https://github.com/vdaas/vald/pull/2168)
- Refactor internal/core/algorithm/ngt mutex lock timing [#2144](https://github.com/vdaas/vald/pull/2144)
- Refactor github actions [#2141](https://github.com/vdaas/vald/pull/2141)
- Update license text [#2169](https://github.com/vdaas/vald/pull/2169)
- Refactor agent error not to wrap with details for performance issue [#2154](https://github.com/vdaas/vald/pull/2154)
- Use internal comparator instead of go-cmp [#2132](https://github.com/vdaas/vald/pull/2132)
- Refactor context [#2121](https://github.com/vdaas/vald/pull/2121)
- Propagate context to Search operation. [#2117](https://github.com/vdaas/vald/pull/2117)
- Refactor fix url http to https [#2090](https://github.com/vdaas/vald/pull/2090)
- Update "make gotests/gen" command [#2085](https://github.com/vdaas/vald/pull/2085)

:bug: Bugfix
- Fix duplicate make command [#2165](https://github.com/vdaas/vald/pull/2165)
- Add timestamp check for GetObject e2e [#2142](https://github.com/vdaas/vald/pull/2142)
- Modified apiversion capabilities check [#2149](https://github.com/vdaas/vald/pull/2149)
- Fix ngt index path of test case [#2130](https://github.com/vdaas/vald/pull/2130)
- Fix hack/benchmark search interface change [#2129](https://github.com/vdaas/vald/pull/2129)
- Fix internal/gache definition variable type [#2123](https://github.com/vdaas/vald/pull/2123)
- Use GOBIN instead of GOPATH/bin [#2102](https://github.com/vdaas/vald/pull/2102)
- Fix jaeger operator wait logic [#2114](https://github.com/vdaas/vald/pull/2114)
- Fix make k8s/metrics/jaeger/deploy failure [#2077](https://github.com/vdaas/vald/pull/2077)
- Bugfix Makefile KUBECONFIG recursive reference [#2089](https://github.com/vdaas/vald/pull/2089)
- Fix deploy command [#2088](https://github.com/vdaas/vald/pull/2088)
- Fix non-trusted module problem of v1.7.6 and disable not found debug message [#2076](https://github.com/vdaas/vald/pull/2076)
- Bugfix lb gateway pacicked caused by pairing heap search aggregator makes nil pointer when empty search result [#2181](https://github.com/vdaas/vald/pull/2181)

:pencil2: Document
- Update testing guideline for updated testing policy [#2131](https://github.com/vdaas/vald/pull/2131)
- Add troubleshooting for each rpc [#2163](https://github.com/vdaas/vald/pull/2163)
- Fix format network policy document [#2108](https://github.com/vdaas/vald/pull/2108)
- Add broken index backup document [#2096](https://github.com/vdaas/vald/pull/2096)
- Add network policy document [#2095](https://github.com/vdaas/vald/pull/2095)
- Fix 404 URL link [#2098](https://github.com/vdaas/vald/pull/2098)
- Update observability document [#2086](https://github.com/vdaas/vald/pull/2086)
- Fix typo of contribution guide [#2087](https://github.com/vdaas/vald/pull/2087)
- Update docs: search API and client API config [#2081](https://github.com/vdaas/vald/pull/2081)

:white_check_mark: Testing
- Re-Generate test codes [#2107](https://github.com/vdaas/vald/pull/2107)
- Update golangci-lint configuration: use white-list configuration pattern [#2106](https://github.com/vdaas/vald/pull/2106)

:green_heart: CI
- Fix coverage CI error [#2150](https://github.com/vdaas/vald/pull/2150)
- Remove some linters to make ci faster [#2116](https://github.com/vdaas/vald/pull/2116)

:chart_with_upwards_trend: Metrics/Tracing
- Divide latency of CreateIndex and SaveIndex metrics [#2099](https://github.com/vdaas/vald/pull/2099)
- Add broken index count metrics [#2083](https://github.com/vdaas/vald/pull/2083)

:arrow_up: Update dependencies
- Update go modules [#2092](https://github.com/vdaas/vald/pull/2092)

:art: Design
- Modified svg images [#2178](https://github.com/vdaas/vald/pull/2178)

:sparkles: New feature

- Add CopyBuffer to copy.go [#2167](https://github.com/vdaas/vald/pull/2167)
- Add Vald standard internal/sync package [#2153](https://github.com/vdaas/vald/pull/2153)
- Add RemoveByTimestamp RPC [#2158](https://github.com/vdaas/vald/pull/2158)
- Implement StreamListObject and its tests [#2145](https://github.com/vdaas/vald/pull/2145)
- Add apiversion capabilities check to helm template [#2137](https://github.com/vdaas/vald/pull/2137)
- Add timestamp field to Object.Vector [#2136](https://github.com/vdaas/vald/pull/2136)
- Add gache's generic Map as internal/sync.Map and replace standard sync.Map with it [#2115](https://github.com/vdaas/vald/pull/2115)
- Make internal/cache generic [#2104](https://github.com/vdaas/vald/pull/2104)
- Install additional tools for docker image for devcontainer [#2101](https://github.com/vdaas/vald/pull/2101)
- Install buf and apply buf format [#2094](https://github.com/vdaas/vald/pull/2094)
- Add backup origin when CoW enabled and failed to load primary [#2091](https://github.com/vdaas/vald/pull/2091)
- Add decode kvsdb tool [#2059](https://github.com/vdaas/vald/pull/2059)
- Add user custom network policy [#2078](https://github.com/vdaas/vald/pull/2078)

:recycle: Refactor

- Refactor agent ngt core. [#2172](https://github.com/vdaas/vald/pull/2172)
- Refactor proto [#2173](https://github.com/vdaas/vald/pull/2173)
- Refactor search status [#2168](https://github.com/vdaas/vald/pull/2168)
- Refactor internal/core/algorithm/ngt mutex lock timing [#2144](https://github.com/vdaas/vald/pull/2144)
- Refactor github actions [#2141](https://github.com/vdaas/vald/pull/2141)
- Update license text [#2169](https://github.com/vdaas/vald/pull/2169)
- Refactor agent error not to wrap with details for performance issue [#2154](https://github.com/vdaas/vald/pull/2154)
- Use internal comparator instead of go-cmp [#2132](https://github.com/vdaas/vald/pull/2132)
- Refactor context [#2121](https://github.com/vdaas/vald/pull/2121)
- Propagate context to Search operation. [#2117](https://github.com/vdaas/vald/pull/2117)
- Refactor fix url http to https [#2090](https://github.com/vdaas/vald/pull/2090)
- Update "make gotests/gen" command [#2085](https://github.com/vdaas/vald/pull/2085)

:bug: Bugfix

- Fix duplicate make command [#2165](https://github.com/vdaas/vald/pull/2165)
- Add timestamp check for GetObject e2e [#2142](https://github.com/vdaas/vald/pull/2142)
- Modified apiversion capabilities check [#2149](https://github.com/vdaas/vald/pull/2149)
- Fix ngt index path of test case [#2130](https://github.com/vdaas/vald/pull/2130)
- Fix hack/benchmark search interface change [#2129](https://github.com/vdaas/vald/pull/2129)
- Fix internal/gache definition variable type [#2123](https://github.com/vdaas/vald/pull/2123)
- Use GOBIN instead of GOPATH/bin [#2102](https://github.com/vdaas/vald/pull/2102)
- Fix jaeger operator wait logic [#2114](https://github.com/vdaas/vald/pull/2114)
- Fix make k8s/metrics/jaeger/deploy failure [#2077](https://github.com/vdaas/vald/pull/2077)
- Bugfix Makefile KUBECONFIG recursive reference [#2089](https://github.com/vdaas/vald/pull/2089)
- Fix deploy command [#2088](https://github.com/vdaas/vald/pull/2088)
- Fix non-trusted module problem of v1.7.6 and disable not found debug message [#2076](https://github.com/vdaas/vald/pull/2076)
- Bugfix lb gateway pacicked caused by pairing heap search aggregator makes nil pointer when empty search result [#2181](https://github.com/vdaas/vald/pull/2181)

:pencil2: Document

- Update testing guideline for updated testing policy [#2131](https://github.com/vdaas/vald/pull/2131)
- Add troubleshooting for each rpc [#2163](https://github.com/vdaas/vald/pull/2163)
- Fix format network policy document [#2108](https://github.com/vdaas/vald/pull/2108)
- Add broken index backup document [#2096](https://github.com/vdaas/vald/pull/2096)
- Add network policy document [#2095](https://github.com/vdaas/vald/pull/2095)
- Fix 404 URL link [#2098](https://github.com/vdaas/vald/pull/2098)
- Update observability document [#2086](https://github.com/vdaas/vald/pull/2086)
- Fix typo of contribution guide [#2087](https://github.com/vdaas/vald/pull/2087)
- Update docs: search API and client API config [#2081](https://github.com/vdaas/vald/pull/2081)

:white_check_mark: Testing

- Re-Generate test codes [#2107](https://github.com/vdaas/vald/pull/2107)
- Update golangci-lint configuration: use white-list configuration pattern [#2106](https://github.com/vdaas/vald/pull/2106)

:green_heart: CI

- Fix coverage CI error [#2150](https://github.com/vdaas/vald/pull/2150)
- Remove some linters to make ci faster [#2116](https://github.com/vdaas/vald/pull/2116)

:chart_with_upwards_trend: Metrics/Tracing

- Divide latency of CreateIndex and SaveIndex metrics [#2099](https://github.com/vdaas/vald/pull/2099)
- Add broken index count metrics [#2083](https://github.com/vdaas/vald/pull/2083)

:arrow_up: Update dependencies

- Update go modules [#2092](https://github.com/vdaas/vald/pull/2092)

:art: Design

- Modified svg images [#2178](https://github.com/vdaas/vald/pull/2178)

## v1.7.6

Expand Down
Loading

0 comments on commit 0855051

Please sign in to comment.