From 043b17c87472bfb7cf440a639fb9393ea936630c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20SZKIBA?= Date: Fri, 26 Jul 2024 16:51:48 +0200 Subject: [PATCH] fix: output names generated correcly from legacy registry --- cmd/legacy.go | 2 +- docs/legacy.yaml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cmd/legacy.go b/cmd/legacy.go index 2aeb194..cb0ee68 100644 --- a/cmd/legacy.go +++ b/cmd/legacy.go @@ -75,7 +75,7 @@ func legacyConvert(ctx context.Context) error { continue } - name := strings.TrimPrefix(legacyExt.Name, "xk6-output") + name := strings.TrimPrefix(legacyExt.Name, "xk6-output-") name = strings.TrimPrefix(name, "xk6-") ext.Outputs = []string{name} diff --git a/docs/legacy.yaml b/docs/legacy.yaml index 4d4eef9..bf25f79 100644 --- a/docs/legacy.yaml +++ b/docs/legacy.yaml @@ -25,7 +25,7 @@ - module: github.com/Maksimall89/xk6-output-clickhouse description: Export results to ClickHouse outputs: - - -clickhouse + - clickhouse - module: github.com/NAlexandrov/xk6-tcp description: Send data to TCP port imports: @@ -155,7 +155,7 @@ description: Export k6 results to TimescaleDB official: true outputs: - - -timescaledb + - timescaledb - module: github.com/grafana/xk6-sql description: Load-test SQL Servers (PostgreSQL, MySQL and SQLite3 for now) official: true @@ -181,7 +181,7 @@ - module: github.com/leonyork/xk6-output-timestream description: Export results to AWS Timestream outputs: - - -timestream + - timestream - module: github.com/maksimall89/xk6-telegram description: Interact with Telegram Bots imports: @@ -263,7 +263,7 @@ - module: github.com/szkiba/xk6-output-plugin description: Write k6 output extension as a dynamically loadable plugin using your favorite programming language outputs: - - -plugin + - plugin - module: github.com/szkiba/xk6-prometheus description: Prometheus HTTP exporter for k6 outputs: