From 651dd33b29b7b8b296cc5a12479684fa836867b1 Mon Sep 17 00:00:00 2001 From: Saturnino Abril Date: Thu, 31 Aug 2017 01:54:16 +0800 Subject: set to default value with config is missing (#7320) --- manualtesting/manual_testing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manualtesting') diff --git a/manualtesting/manual_testing.go b/manualtesting/manual_testing.go index 6d16492d8..85f0be2fb 100644 --- a/manualtesting/manual_testing.go +++ b/manualtesting/manual_testing.go @@ -55,7 +55,7 @@ func manualTest(c *api.Context, w http.ResponseWriter, r *http.Request) { } // Create a client for tests to use - client := model.NewClient("http://localhost" + utils.Cfg.ServiceSettings.ListenAddress) + client := model.NewClient("http://localhost" + *utils.Cfg.ServiceSettings.ListenAddress) // Check for username parameter and create a user if present username, ok1 := params["username"] -- cgit v1.2.3-1-g7c22