Skip to content

Commit

Permalink
del front
Browse files Browse the repository at this point in the history
  • Loading branch information
bob committed Dec 23, 2022
1 parent 5c4c2d0 commit 21516be
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion common/constant/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,4 @@ const (

const (
ServiceDiscoveryDefaultGroup = "DEFAULT_GROUP"
NotAvailable = "N/A"
)
3 changes: 0 additions & 3 deletions common/constant/key.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,6 @@ const (
RegistrySimplifiedKey = "simplified"
RegistryNamespaceKey = "registry.namespace"
RegistryGroupKey = "registry.group"
RegistryTypeInterface = "interface"
RegistryTypeService = "service"
RegistryTypeAll = "all"
)

const (
Expand Down
4 changes: 0 additions & 4 deletions config/config_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,3 @@ func verify(s interface{}) error {
func clientNameID(config extension.Config, protocol, address string) string {
return strings.Join([]string{config.Prefix(), protocol, address}, "-")
}

func isValid(addr string) bool {
return addr != "" && addr != constant.NotAvailable
}

0 comments on commit 21516be

Please sign in to comment.