Skip to content

Commit

Permalink
Rename module name k6/protocols/grpc to k6/net/grpc
Browse files Browse the repository at this point in the history
  • Loading branch information
na-- committed Nov 4, 2020
1 parent d3ceaa9 commit b7db89c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/modules/k6/grpc/grpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
)

func init() {
modules.Register("k6/protocols/grpc", New())
modules.Register("k6/net/grpc", New())
}

// GRPC represents the gRPC protocol module for k6
Expand Down
2 changes: 1 addition & 1 deletion samples/grpc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import grpc from 'k6/protocols/grpc';
import grpc from 'k6/net/grpc';
import { check } from "k6";

let client = grpc.newClient();
Expand Down

0 comments on commit b7db89c

Please sign in to comment.