From f00d104bfb91ffda9245ac7697cd793f6508d087 Mon Sep 17 00:00:00 2001
From: "xg.gao" <xg.gao@tianrang-inc.com>
Date: Mon, 29 Jun 2020 13:32:16 +0800
Subject: [PATCH] rename consul agent for test

---
 metadata/report/factory/report_factory.go             | 4 ----
 remoting/consul/{agent.go => test_agent.go}           | 0
 remoting/consul/{agent_test.go => test_agent_test.go} | 0
 3 files changed, 4 deletions(-)
 rename remoting/consul/{agent.go => test_agent.go} (100%)
 rename remoting/consul/{agent_test.go => test_agent_test.go} (100%)

diff --git a/metadata/report/factory/report_factory.go b/metadata/report/factory/report_factory.go
index 8769ebdd2..9f00007ce 100644
--- a/metadata/report/factory/report_factory.go
+++ b/metadata/report/factory/report_factory.go
@@ -22,10 +22,6 @@ import (
 	"github.com/apache/dubbo-go/metadata/report"
 )
 
-var (
-	MetadataReportInstance report.MetadataReport
-)
-
 // MetadataReportFactory interface will create metadata report
 type MetadataReportFactory interface {
 	CreateMetadataReport(*common.URL) report.MetadataReport
diff --git a/remoting/consul/agent.go b/remoting/consul/test_agent.go
similarity index 100%
rename from remoting/consul/agent.go
rename to remoting/consul/test_agent.go
diff --git a/remoting/consul/agent_test.go b/remoting/consul/test_agent_test.go
similarity index 100%
rename from remoting/consul/agent_test.go
rename to remoting/consul/test_agent_test.go
-- 
GitLab