Skip to content

Commit

Permalink
change call signature for test driver
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaiba committed Aug 14, 2023
1 parent bb0c18b commit 54af277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app/kwild/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ func (d *GrpcDriver) QueryDatabase(ctx context.Context, dbid, query string) (*cl
return d.clt.Query(ctx, dbid, query)
}

func (d *GrpcDriver) Call(ctx context.Context, dbid, action string, inputs map[string]any, opts ...client.CallOpt) ([]map[string]any, error) {
func (d *GrpcDriver) Call(ctx context.Context, dbid, action string, inputs []any, opts ...client.CallOpt) ([]map[string]any, error) {
return d.clt.CallAction(ctx, dbid, action, inputs, opts...)
}

Expand Down

0 comments on commit 54af277

Please sign in to comment.