Skip to content

Commit

Permalink
fix ci bug
Browse files Browse the repository at this point in the history
  • Loading branch information
smx-Morgan committed Oct 19, 2024
1 parent a361161 commit 306dbcb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions consul_registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
package consul

import (
"errors"

consulregistry "github.com/cloudwego-contrib/cwgo-pkg/registry/consul/consulkitex"
"github.com/cloudwego-contrib/cwgo-pkg/registry/consul/options"
"github.com/cloudwego/kitex/pkg/registry"
Expand All @@ -27,8 +25,6 @@ import (

const kvJoinChar = ":"

var errIllegalTagChar = errors.New("illegal tag character")

// Option is consul option.
type Option = options.Option

Expand Down
4 changes: 0 additions & 4 deletions consul_resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ import (
"github.com/hashicorp/consul/api"
)

const (
defaultNetwork = "tcp"
)

// NewConsulResolver create a service resolver using consul.
func NewConsulResolver(address string) (discovery.Resolver, error) {
return consuleesolver.NewConsulResolver(address)
Expand Down

0 comments on commit 306dbcb

Please sign in to comment.