mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-04 07:31:53 +08:00
正在退出时不上报错误
This commit is contained in:
@@ -247,6 +247,12 @@ Loop:
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
// 正在退出时不上报错误
|
||||
if teaconst.IsQuiting {
|
||||
return nil
|
||||
}
|
||||
|
||||
_, err = rpcClient.NodeLogRPC().CreateNodeLogs(rpcClient.Context(), &pb.CreateNodeLogsRequest{NodeLogs: logList})
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user