Skip to content

Commit

Permalink
style: Format code with prettier and gofumpt
Browse files Browse the repository at this point in the history
  • Loading branch information
deepsource-autofix[bot] authored and kevindiu committed Jun 29, 2023
1 parent 3fe98f7 commit 5cd1302
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
10 changes: 5 additions & 5 deletions docs/user-guides/client-api-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ message Filter {
// Represent filter configuration.
message Config {
// Represent the filter target configuration.
Target target = 1;
Target target = 1;
// The target query.
Query query = 2;
}
Expand Down Expand Up @@ -244,7 +244,7 @@ message Filter {
// Represent filter configuration.
message Config {
// Represent the filter target configuration.
Target target = 1;
Target target = 1;
// The target query.
Query query = 2;
}
Expand Down Expand Up @@ -372,7 +372,7 @@ message Filter {
// Represent filter configuration.
message Config {
// Represent the filter target configuration.
Target target = 1;
Target target = 1;
// The target query.
Query query = 2;
}
Expand Down Expand Up @@ -594,7 +594,7 @@ message Filter {
// Represent filter configuration.
message Config {
// Represent the filter target configuration.
Target target = 1;
Target target = 1;
// The target query.
Query query = 2;
}
Expand All @@ -621,7 +621,7 @@ message Filter {
// Represent filter configuration.
message Config {
// Represent the filter target configuration.
Target target = 1;
Target target = 1;
// The target query.
Query query = 2;
}
Expand Down
5 changes: 0 additions & 5 deletions pkg/gateway/filter/handler/grpc/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -1443,7 +1443,6 @@ func (s *server) Search(ctx context.Context, req *payload.Search_Request) (res *
Addr: net.JoinHostPort(c.GetTarget().GetHost(), uint16(c.GetTarget().GetPort())),
Query: c.Query.GetQuery(),
})

}
for _, filterConfig := range filters {
c, err := s.egress.Target(ctx, filterConfig.Addr)
Expand Down Expand Up @@ -1535,7 +1534,6 @@ func (s *server) SearchByID(ctx context.Context, req *payload.Search_IDRequest)
Addr: net.JoinHostPort(c.GetTarget().GetHost(), uint16(c.GetTarget().GetPort())),
Query: c.Query.GetQuery(),
})

}
for _, filterConfig := range filters {
c, err := s.egress.Target(ctx, filterConfig.Addr)
Expand Down Expand Up @@ -1941,7 +1939,6 @@ func (s *server) LinearSearch(ctx context.Context, req *payload.Search_Request)
Addr: net.JoinHostPort(c.GetTarget().GetHost(), uint16(c.GetTarget().GetPort())),
Query: c.Query.GetQuery(),
})

}
for _, filterConfig := range filters {
c, err := s.egress.Target(ctx, filterConfig.Addr)
Expand Down Expand Up @@ -2029,7 +2026,6 @@ func (s *server) LinearSearchByID(ctx context.Context, req *payload.Search_IDReq
Addr: net.JoinHostPort(c.GetTarget().GetHost(), uint16(c.GetTarget().GetPort())),
Query: c.Query.GetQuery(),
})

}
for _, filterConfig := range filters {
c, err := s.egress.Target(ctx, filterConfig.Addr)
Expand Down Expand Up @@ -3292,7 +3288,6 @@ func (s *server) GetObject(ctx context.Context, req *payload.Object_VectorReques
Addr: net.JoinHostPort(c.GetTarget().GetHost(), uint16(c.GetTarget().GetPort())),
Query: c.Query.GetQuery(),
})

}
for _, filterConfig := range filters {
c, err := s.egress.Target(ctx, filterConfig.Addr)
Expand Down

0 comments on commit 5cd1302

Please sign in to comment.