Skip to content

Commit 213ce62

Browse files
authored
Update src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/20-Client-connect-connect-address-params.md
1 parent 1021f52 commit 213ce62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/20-Client-connect-connect-address-params.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ const client = new grpc.Client();
108108
export default () => {
109109
if (__ITER === 0) {
110110
// Take one config and use it for this one VU
111-
let grpcArg = grpcArgs[exec.vu.idInTest % grpcArgs.length];
111+
const grpcArg = grpcArgs[exec.vu.idInTest % grpcArgs.length];
112112
client.connect(grpcArg.host, grpcArg.params);
113113
}
114114

0 commit comments

Comments
 (0)