Skip to content

Commit 216410c

Browse files
authored
Merge pull request #19 from grafana/18-fix-output-file-error-handling
fix output file error handling
2 parents 1b5aad8 + 2f1f664 commit 216410c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

cmd/cmd.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,7 @@ func New() (*cobra.Command, error) {
8080
}
8181

8282
//nolint:forbidigo
83-
func run(ctx context.Context, args []string, opts *options) error {
84-
var result error
85-
83+
func run(ctx context.Context, args []string, opts *options) (result error) {
8684
input := os.Stdin
8785

8886
if len(args) > 1 {

docs/legacy.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@
104104
- k6/x/smtp
105105
- module: github.com/grafana/xk6-client-prometheus-remote
106106
description: Test Prometheus Remote Write performance
107+
official: true
107108
imports:
108109
- k6/x/remotewrite
109110
- module: github.com/grafana/xk6-client-tracing

0 commit comments

Comments
 (0)