Skip to content

Commit

Permalink
remove etcd binding
Browse files Browse the repository at this point in the history
  • Loading branch information
xuriwuyun committed Oct 24, 2023
1 parent 4942c93 commit 5b8cee1
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions lorry/middleware/probe/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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)
Expand Down

0 comments on commit 5b8cee1

Please sign in to comment.