From b7db89c22d54dc8caf5dcf066f4b05b95c1522fc Mon Sep 17 00:00:00 2001 From: Nedyalko Andreev Date: Wed, 4 Nov 2020 14:07:45 +0200 Subject: [PATCH] Rename module name k6/protocols/grpc to k6/net/grpc --- js/modules/k6/grpc/grpc.go | 2 +- samples/grpc.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/modules/k6/grpc/grpc.go b/js/modules/k6/grpc/grpc.go index 829e2e50e6ac..5864e96eceaf 100644 --- a/js/modules/k6/grpc/grpc.go +++ b/js/modules/k6/grpc/grpc.go @@ -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 diff --git a/samples/grpc.js b/samples/grpc.js index 072159f631b2..4690c647af5c 100644 --- a/samples/grpc.js +++ b/samples/grpc.js @@ -1,4 +1,4 @@ -import grpc from 'k6/protocols/grpc'; +import grpc from 'k6/net/grpc'; import { check } from "k6"; let client = grpc.newClient();