Skip to content

Commit

Permalink
Merge branch 'tdmanv/process-server' of github.com:kanisterio/kaniste…
Browse files Browse the repository at this point in the history
…r into tdmanv/process-server
  • Loading branch information
aaron-kasten committed Oct 9, 2024
2 parents 65302f0 + ecd0b75 commit 1cd6a24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/kanx/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (
func unixDialer(ctx context.Context, addr string) (net.Conn, error) {
return net.Dial("unix", addr)
}

func newGRPCConnection(addr string) (*grpc.ClientConn, error) {
var opts []grpc.DialOption
opts = append(opts, grpc.WithTransportCredentials(insecure.NewCredentials()))
Expand Down Expand Up @@ -46,8 +47,7 @@ func ListProcesses(ctx context.Context, addr string) ([]*Process, error) {
}
defer conn.Close() //nolint:errcheck
c := NewProcessServiceClient(conn)
in := &ListProcessesRequest{}
lpc, err := c.ListProcesses(ctx, in)
lpc, err := c.ListProcesses(ctx, &ListProcessesRequest{})
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 1cd6a24

Please sign in to comment.