Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cluster/router/chain/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func NewRouterChain(url *common.URL) (*RouterChain, error) {

routerFactories := extension.GetRouterFactories()
if len(routerFactories) == 0 {
return nil, perrors.Errorf("No routerFactory exits , create one please")
return nil, perrors.Errorf("No routerFactory exits, create one please")
Comment thread
Alanxtl marked this conversation as resolved.
Resolved
}

routers := make([]router.PriorityRouter, 0, len(routerFactories))
Expand Down
6 changes: 2 additions & 4 deletions protocol/rest/config/reader/rest_config_reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,9 @@ import (
"dubbo.apache.org/dubbo-go/v3/protocol/rest/config"
)

const REST = "rest"

func init() {
extension.SetConfigReaders(REST, NewRestConfigReader)
extension.SetDefaultConfigReader(REST, REST)
extension.SetConfigReaders(constant.RESTProtocol, NewRestConfigReader)
extension.SetDefaultConfigReader(constant.RESTProtocol, constant.RESTProtocol)
}
Comment thread
Alanxtl marked this conversation as resolved.
Resolved

type RestConfigReader struct{}
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading