Skip to content

Commit

Permalink
fix:issue apache#2216
Browse files Browse the repository at this point in the history
  • Loading branch information
chuntaojun committed Mar 29, 2023
1 parent 3c831fb commit 589d067
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions registry/polaris/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,11 @@ func createRegisterParam(url *common.URL, serviceName string) *api.InstanceRegis

ver := url.GetParam("version", "")

protocolVal := protocolForDubboGO
if len(url.Protocol) != 0 {
protocolVal = url.Protocol
}

req := &api.InstanceRegisterRequest{
InstanceRegisterRequest: model.InstanceRegisterRequest{
Service: serviceName,
Expand Down

0 comments on commit 589d067

Please sign in to comment.