From a7705e2d53fd09b26c3d2d91fc732e1370a45498 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20Miri=C4=87?= Date: Tue, 15 Oct 2019 12:59:46 +0200 Subject: [PATCH] fix(cmd): remove useless append Resolves: https://github.com/loadimpact/k6/pull/1143#discussion_r334356535 --- cmd/options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/options.go b/cmd/options.go index 801556ba19c..0f184942887 100644 --- a/cmd/options.go +++ b/cmd/options.go @@ -152,7 +152,7 @@ func getOptions(flags *pflag.FlagSet) (lib.Options, error) { return opts, summaryErr } - opts.SummaryTrendStats = append(opts.SummaryTrendStats, trendStatStrings...) + opts.SummaryTrendStats = trendStatStrings summaryTimeUnit, err := flags.GetString("summary-time-unit") if err != nil {