消息中增加恢复成功的消息

This commit is contained in:
刘祥超
2020-11-16 09:20:24 +08:00
parent 58cae9a5e5
commit 5ef3e4acaf
7 changed files with 70 additions and 4 deletions

View File

@@ -21,7 +21,6 @@ func init() {
go func() {
service := &NodeService{}
for nodeId := range events.NodeDNSChanges {
logs.Println("change dns: ", nodeId)
err := service.notifyNodeDNSChanged(nodeId)
if err != nil {
logs.Println("[ERROR]change node dns: " + err.Error())
@@ -450,7 +449,6 @@ func (this *NodeService) UpdateNodeStatus(ctx context.Context, req *pb.UpdateNod
if err != nil {
return nil, err
}
return &pb.RPCSuccess{}, nil
}