Skip to content

Commit

Permalink
Fix a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kvinwang committed Dec 26, 2024
1 parent ab33cbc commit e156d51
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tappd/src/http_routes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ async fn index(state: &State<AppState>) -> Result<RawHtml<String>, String> {
let context = CallContext::builder().state(&**state).build();
let handler = ExternalRpcHandler::construct(context.clone())
.map_err(|e| format!("Failed to construct RPC handler: {}", e))?;
let config = state.config();
let WorkerInfo {
app_name,
app_id,
Expand All @@ -51,8 +50,8 @@ async fn index(state: &State<AppState>) -> Result<RawHtml<String>, String> {
tcb_info,
containers,
system_info,
public_sysinfo: config.public_sysinfo,
public_logs: config.public_logs,
public_sysinfo,
public_logs,
};
match model.render() {
Ok(html) => Ok(RawHtml(html)),
Expand Down

0 comments on commit e156d51

Please sign in to comment.