AngLi2 commented on a change in pull request #766:
URL: 
https://github.com/apache/servicecomb-service-center/pull/766#discussion_r532321439



##########
File path: server/service/gov/kie/kie_distributor.go
##########
@@ -0,0 +1,202 @@
+package kie
+
+import (
+       "context"
+       "encoding/json"
+       "fmt"
+       "github.com/apache/servicecomb-service-center/pkg/gov"
+       "github.com/apache/servicecomb-service-center/server/config"
+       svc "github.com/apache/servicecomb-service-center/server/service/gov"
+       "github.com/ghodss/yaml"
+       "github.com/go-chassis/kie-client"
+       "log"
+       "strings"
+)
+
+type Distributor struct {
+       lbPolicies map[string]*gov.LoadBalancer
+       name       string
+       client     *kie.Client
+}
+
+const PREFIX = "servicecomb."

Review comment:
       多个 const 建议合并,
   const(
   xxx
   xxx
   )




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to