Skip to content

Commit

Permalink
removing unnecesary clone
Browse files Browse the repository at this point in the history
  • Loading branch information
sagojez committed Jul 9, 2024
1 parent 1ca51fb commit 8837608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integrationos-api/src/endpoints/unified.rs
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ pub async fn process_request(
}
};

let metric = Metric::unified(connection.clone(), action.clone());
let metric = Metric::unified(connection.clone(), action);
if let Err(e) = state.metric_tx.send(metric).await {
error!("Could not send metric to receiver: {e}");
}
Expand Down

0 comments on commit 8837608

Please sign in to comment.