summaryrefslogtreecommitdiffstats
path: root/app/command_loadtest.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/command_loadtest.go')
-rw-r--r--app/command_loadtest.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/command_loadtest.go b/app/command_loadtest.go
index 4bc371bdc..946f70919 100644
--- a/app/command_loadtest.go
+++ b/app/command_loadtest.go
@@ -87,7 +87,7 @@ func (me *LoadTestProvider) GetCommand(T goi18n.TranslateFunc) *model.Command {
func (me *LoadTestProvider) DoCommand(a *App, args *model.CommandArgs, message string) *model.CommandResponse {
//This command is only available when EnableTesting is true
- if !utils.Cfg.ServiceSettings.EnableTesting {
+ if !a.Config().ServiceSettings.EnableTesting {
return &model.CommandResponse{}
}