From 54d5ff267ba615dcf249a748292fe95c8d0006e2 Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Sat, 11 May 2024 17:01:35 +0800 Subject: [PATCH] Add etcd as a service discovery mechanism --- pkg/common/discoveryregister/etcd/etcd.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/common/discoveryregister/etcd/etcd.go b/pkg/common/discoveryregister/etcd/etcd.go index eb7e6ac8b..6866186b0 100644 --- a/pkg/common/discoveryregister/etcd/etcd.go +++ b/pkg/common/discoveryregister/etcd/etcd.go @@ -212,7 +212,6 @@ func Check(ctx context.Context, etcdServers []string, etcdRoot string, createIfN if err != nil { return errors.Wrap(err, "failed to create the root node in etcd") } - fmt.Printf("Root node %s did not exist, but has been created.\n", etcdRoot) } else { return fmt.Errorf("root node %s does not exist in etcd", etcdRoot) }