diff --git a/plugin/collector/snap-collector-mock1/main.go b/plugin/collector/snap-collector-mock1/main.go index e08f1ec02..8aa46a23a 100644 --- a/plugin/collector/snap-collector-mock1/main.go +++ b/plugin/collector/snap-collector-mock1/main.go @@ -35,7 +35,7 @@ func main() { // Define metadata about Plugin meta := mock.Meta() - meta.RPCType = plugin.JSONRPC + meta.RPCType = plugin.GRPC // Start a collector plugin.Start(meta, new(mock.Mock), os.Args[1])