From 3dc32a72d6f0aaf247950dc24f4ceeafe2fe6ea9 Mon Sep 17 00:00:00 2001 From: Mihail Stoykov Date: Thu, 1 Jul 2021 13:29:25 +0300 Subject: [PATCH] Apply suggestions from code review Co-authored-by: na-- --- cmd/outputs.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/cmd/outputs.go b/cmd/outputs.go index 34e9268f46c..37e700b216c 100644 --- a/cmd/outputs.go +++ b/cmd/outputs.go @@ -47,14 +47,13 @@ func getAllOutputConstructors() (map[string]func(output.Params) (output.Output, "cloud": cloud.New, "influxdb": influxdb.New, "kafka": func(params output.Params) (output.Output, error) { - return nil, errors.New("The kafka output is removed. " + - "Please use the new xk6 kafka output extension instead. " + - "It can be found at https://github.com/k6io/xk6-output-kafka.") + return nil, errors.New("the kafka output was deprecated in k6 v0.32.0 and removed in k6 v0.34.0, " + + "please use the new xk6 kafka output extension instead - https://github.com/k6io/xk6-output-kafka") }, "statsd": statsd.New, "datadog": func(params output.Params) (output.Output, error) { - return nil, errors.New("the datadog output is removed. " + - "Please use the statsd output with env variable K6_STATSD_ENABLE_TAGS=true instead.") + return nil, errors.New("the datadog output was deprecated in k6 v0.32.0 and removed in k6 v0.34.0, " + + "please use the statsd output with env. variable K6_STATSD_ENABLE_TAGS=true instead") }, "csv": csv.New, }