Skip to content

Commit

Permalink
style: format code with Gofumpt and Prettier
Browse files Browse the repository at this point in the history
This commit fixes the style issues introduced in a483216 according to the output
from Gofumpt and Prettier.

Details: #2505
  • Loading branch information
deepsource-autofix[bot] authored Jul 15, 2024
1 parent a483216 commit cf998ab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions apis/grpc/v1/vald/vald.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ func RegisterValdServerWithFilter(s *grpc.Server, srv ServerWithFilter) {

func NewValdClient(conn *grpc.ClientConn) Client {
return &client{
FlushClient: NewFlushClient(conn),
IndexClient: NewIndexClient(conn),
FlushClient: NewFlushClient(conn),
IndexClient: NewIndexClient(conn),
InsertClient: NewInsertClient(conn),
ObjectClient: NewObjectClient(conn),
RemoveClient: NewRemoveClient(conn),
Expand Down
1 change: 0 additions & 1 deletion internal/client/v1/client/vald/vald.go
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,6 @@ func (c *client) StreamListObject(
return res, nil
}


func (c *client) IndexInfo(
ctx context.Context, in *payload.Empty, opts ...grpc.CallOption,
) (res *payload.Info_Index_Count, err error) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/manager/index/service/indexer.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import (
"time"

agent "github.com/vdaas/vald/apis/grpc/v1/agent/core"
vald "github.com/vdaas/vald/apis/grpc/v1/vald"
"github.com/vdaas/vald/apis/grpc/v1/payload"
vald "github.com/vdaas/vald/apis/grpc/v1/vald"
"github.com/vdaas/vald/internal/client/v1/client/discoverer"
"github.com/vdaas/vald/internal/errors"
"github.com/vdaas/vald/internal/log"
Expand Down

0 comments on commit cf998ab

Please sign in to comment.