fix(task): update debug is useless

The debug message in MessageFiled<Any> is useless

Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
This commit is contained in:
jokemanfire 2025-08-21 10:50:45 +08:00 committed by Maksym Pavlenko
parent 45387cd5e6
commit 10b41f16a6
1 changed files with 2 additions and 1 deletions

View File

@ -391,7 +391,7 @@ where
}
async fn update(&self, _ctx: &TtrpcContext, mut req: UpdateTaskRequest) -> TtrpcResult<Empty> {
debug!("Update request for {:?}", req);
debug!("Update request for id {:?}", req.id);
let id = req.take_id();
@ -407,6 +407,7 @@ where
format!("failed to parse resource spec: {}", e),
))
})?;
debug!("Update resource is {:?}", resources);
self.container_mut(&id).await?.update(&resources).await?;
Ok(Empty::new())
}