From 8588bdab8a7812d4d26656810cc60ee779fd43f3 Mon Sep 17 00:00:00 2001
From: CodingSinger <ooczzoo@gmail.com>
Date: Sun, 22 Mar 2020 20:15:05 +0800
Subject: [PATCH] use the once.do to init the registryprotocol

---
 registry/protocol/protocol.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/registry/protocol/protocol.go b/registry/protocol/protocol.go
index 0ffeb3ef7..c8b019bd4 100644
--- a/registry/protocol/protocol.go
+++ b/registry/protocol/protocol.go
@@ -45,7 +45,7 @@ import (
 
 var (
 	regProtocol *registryProtocol
-	once sync.Once
+	once        sync.Once
 )
 
 type registryProtocol struct {
-- 
GitLab