summaryrefslogtreecommitdiffstats
path: root/app/cluster_discovery_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/cluster_discovery_test.go')
-rw-r--r--app/cluster_discovery_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/cluster_discovery_test.go b/app/cluster_discovery_test.go
index e8ce62b5c..cd61c0f03 100644
--- a/app/cluster_discovery_test.go
+++ b/app/cluster_discovery_test.go
@@ -12,9 +12,9 @@ import (
)
func TestClusterDiscoveryService(t *testing.T) {
- Setup()
+ th := Setup()
- ds := NewClusterDiscoveryService()
+ ds := th.App.NewClusterDiscoveryService()
ds.Type = model.CDS_TYPE_APP
ds.ClusterName = "ClusterA"
ds.AutoFillHostname()