From de36a0d67c5812e4f38e257fc5665b7f5cc7f9f9 Mon Sep 17 00:00:00 2001
From: Patrick <dreamlike.sky@foxmail.com>
Date: Mon, 17 Aug 2020 10:45:52 +0800
Subject: [PATCH] format code

---
 registry/protocol/protocol.go | 2 +-
 registry/registry_factory.go  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/registry/protocol/protocol.go b/registry/protocol/protocol.go
index f7189a995..33e377459 100644
--- a/registry/protocol/protocol.go
+++ b/registry/protocol/protocol.go
@@ -117,7 +117,7 @@ func (proto *registryProtocol) initConfigurationListeners() {
 	proto.providerConfigurationListener = newProviderConfigurationListener(proto.overrideListeners)
 }
 
-func (proto *registryProtocol) GetRegistries() []registry.Registry{
+func (proto *registryProtocol) GetRegistries() []registry.Registry {
 	var rs []registry.Registry
 	proto.registries.Range(func(_, v interface{}) bool {
 		if r, ok := v.(registry.Registry); ok {
diff --git a/registry/registry_factory.go b/registry/registry_factory.go
index 58fbe3955..caefbce2e 100644
--- a/registry/registry_factory.go
+++ b/registry/registry_factory.go
@@ -19,6 +19,6 @@ package registry
 
 // RegistryFactory
 type RegistryFactory interface {
-	 // GetRegistries get registries
-	 GetRegistries() []Registry
+	// GetRegistries get registries
+	GetRegistries() []Registry
 }
-- 
GitLab