Skip to content

Commit 102090d

Browse files
authored
Merge pull request #15 from grafana/fix-legacy
fix: output names generated correctly from legacy registry
2 parents 841de69 + 043b17c commit 102090d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

cmd/legacy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func legacyConvert(ctx context.Context) error {
7575
continue
7676
}
7777

78-
name := strings.TrimPrefix(legacyExt.Name, "xk6-output")
78+
name := strings.TrimPrefix(legacyExt.Name, "xk6-output-")
7979
name = strings.TrimPrefix(name, "xk6-")
8080

8181
ext.Outputs = []string{name}

docs/legacy.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
- module: github.com/Maksimall89/xk6-output-clickhouse
2626
description: Export results to ClickHouse
2727
outputs:
28-
- -clickhouse
28+
- clickhouse
2929
- module: github.com/NAlexandrov/xk6-tcp
3030
description: Send data to TCP port
3131
imports:
@@ -155,7 +155,7 @@
155155
description: Export k6 results to TimescaleDB
156156
official: true
157157
outputs:
158-
- -timescaledb
158+
- timescaledb
159159
- module: github.com/grafana/xk6-sql
160160
description: Load-test SQL Servers (PostgreSQL, MySQL and SQLite3 for now)
161161
official: true
@@ -181,7 +181,7 @@
181181
- module: github.com/leonyork/xk6-output-timestream
182182
description: Export results to AWS Timestream
183183
outputs:
184-
- -timestream
184+
- timestream
185185
- module: github.com/maksimall89/xk6-telegram
186186
description: Interact with Telegram Bots
187187
imports:
@@ -263,7 +263,7 @@
263263
- module: github.com/szkiba/xk6-output-plugin
264264
description: Write k6 output extension as a dynamically loadable plugin using your favorite programming language
265265
outputs:
266-
- -plugin
266+
- plugin
267267
- module: github.com/szkiba/xk6-prometheus
268268
description: Prometheus HTTP exporter for k6
269269
outputs:

0 commit comments

Comments
 (0)