From 5b8cee11467b504150852eab3661b6f4ccc888bc Mon Sep 17 00:00:00 2001 From: xuriwuyun Date: Tue, 24 Oct 2023 18:07:47 +0800 Subject: [PATCH] remove etcd binding --- lorry/middleware/probe/router.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lorry/middleware/probe/router.go b/lorry/middleware/probe/router.go index 98b2120f12f..34f2be178b9 100644 --- a/lorry/middleware/probe/router.go +++ b/lorry/middleware/probe/router.go @@ -31,7 +31,6 @@ import ( . "github.com/apecloud/kubeblocks/lorry/binding" "github.com/apecloud/kubeblocks/lorry/binding/custom" - "github.com/apecloud/kubeblocks/lorry/binding/etcd" "github.com/apecloud/kubeblocks/lorry/component" "github.com/apecloud/kubeblocks/lorry/util" "github.com/apecloud/kubeblocks/pkg/constant" @@ -51,14 +50,6 @@ var customOp *custom.HTTPCustom func RegisterBuiltin(characterType string) error { initErrFmt := "%s init err: %v" switch characterType { - case builtinETCD: - etcdOp := etcd.NewEtcd() - builtinMap[builtinETCD] = etcdOp - properties := component.GetProperties(builtinETCD) - err := etcdOp.Init(properties) - if err != nil { - return errors.Errorf(initErrFmt, builtinETCD, err) - } default: customOp = custom.NewHTTPCustom() empty := make(component.Properties)