mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-04 16:00:24 +08:00
优化代码
This commit is contained in:
@@ -187,7 +187,7 @@ func (this *ACMETaskService) ListEnabledACMETasks(ctx context.Context, req *pb.L
|
||||
if taskLog != nil {
|
||||
pbTaskLog = &pb.ACMETaskLog{
|
||||
Id: int64(taskLog.Id),
|
||||
IsOk: taskLog.IsOk == 1,
|
||||
IsOk: taskLog.IsOk,
|
||||
Error: taskLog.Error,
|
||||
CreatedAt: int64(taskLog.CreatedAt),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user