Tao Zhang 5 жил өмнө
parent
commit
495bfc57a5

+ 2 - 0
disk/README.md

@@ -0,0 +1,2 @@
+输出的linux文件,
+可以直接使用。

+ 0 - 1
server/serviceService.go

@@ -28,7 +28,6 @@ func (s *Service) Destory(ctx context.Context, meta *proto.ServiceMeta) (*proto.
 func (s *Service) Apply(ctx context.Context, in *proto.ApplyReqData) (*proto.ApplyRepData, error) {
 	var addr, id string
 	var err error
-	log.Println("------------")
 	if in.Balance == LOAD {
 		addr, id, err = ApplyWithLoad(in.Name)
 	} else if in.Balance == SEQ {

+ 1 - 1
server/serviceStore.go

@@ -166,7 +166,7 @@ func ApplyWithNotUse(serviceName string) (string, string, error) {
 	filter := memdb.NewFilterIterator(rs, seqFilterFactory())
 	item := filter.Next()
 	if item == nil {
-		log.Fatalln("applywithnotuse error 找不到可用服务")
+		log.Println("applywithnotuse error 找不到可用服务")
 		return "", "", errors.New("没有可用服务")
 	}
 	sm := item.(*ServiceMeta)