From fd37df278e0bc6f0fb3d13c43298aa5e07d5241f Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Sun, 30 Jan 2022 17:27:01 +0300 Subject: [PATCH] fix default domain Signed-off-by: Vasiliy Tolstov --- etcd.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/etcd.go b/etcd.go index b5864c4..f9ae01e 100644 --- a/etcd.go +++ b/etcd.go @@ -22,10 +22,7 @@ import ( "go.unistack.org/micro/v3/register" ) -const ( - DefaultPrefix = "/micro/register/" - DefaultDomain = "micro" -) +var DefaultPrefix = "/micro/register/" var _ register.Register = &etcdRegister{}