diff --git a/grafana/k6/command.go b/grafana/k6/command.go index 209bfed..3bfca55 100644 --- a/grafana/k6/command.go +++ b/grafana/k6/command.go @@ -41,7 +41,7 @@ func CommandWithName(v string) CommandOption { func CommandWithConfigKey(v string) CommandOption { return func(o *Command) { - o.name = v + o.configKey = v } }