fix  merge errors
@@ -21,7 +21,6 @@ import (
)
import (
- "github.com/dubbogo/dubbo-go-proxy/pkg/client/dubbo"
"github.com/dubbogo/dubbo-go-proxy/pkg/common/constant"
"github.com/dubbogo/dubbo-go-proxy/pkg/config"
)
@@ -31,8 +30,8 @@ func TransferURL2Api(url common.URL, clusterName string) []config.IntegrationReq
var irs []config.IntegrationRequest
for _, method := range url.Methods {
irs = append(irs, config.IntegrationRequest{
- RequestType: url.Protocol,
- DubboMetadata: dubbo.DubboMetadata{
+ RequestType: config.RequestType(url.Protocol),
+ DubboBackendConfig: config.DubboBackendConfig{
ApplicationName: url.GetParam(constant.NameKey, ""),
Group: url.GetParam(constant.GroupKey, ""),
Version: url.GetParam(constant.VersionKey, ""),
@@ -40,7 +39,6 @@ func TransferURL2Api(url common.URL, clusterName string) []config.IntegrationReq
Method: method,
Retries: url.GetParam(constant.RetriesKey, ""),
ClusterName: clusterName,
- ProtocolTypeStr: url.Protocol,
},
})
}
