Fix warnings: add Debug derive, prefix unused vars
Some checks failed
GBCI Bundle / build-bundle (push) Failing after 26m24s
GBCI / build (push) Failing after 26m5s

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2025-12-17 11:26:58 -03:00
parent 351708f3fa
commit f490eb09eb
2 changed files with 4 additions and 3 deletions

View file

@ -276,6 +276,7 @@ pub struct McpLoadError {
}
/// MCP CSV Loader
#[derive(Debug)]
pub struct McpCsvLoader {
/// Base work path
work_path: String,
@ -421,11 +422,11 @@ impl McpCsvLoader {
.get(7)
.map(|s| s.trim().to_string())
.filter(|s| !s.is_empty());
let risk_level = columns
let _risk_level = columns
.get(8)
.map(|s| s.trim().to_string())
.filter(|s| !s.is_empty());
let requires_approval = columns
let _requires_approval = columns
.get(9)
.map(|s| s.trim().to_lowercase() == "true")
.unwrap_or(false);

View file

@ -6,7 +6,7 @@ use anyhow::Result;
use aws_config::BehaviorVersion;
use aws_sdk_s3::Client;
use diesel::{Connection, RunQueryDsl};
use log::{debug, error, info, trace, warn};
use log::{debug, error, info, warn};
use rand::distr::Alphanumeric;
use rcgen::{
BasicConstraints, CertificateParams, DistinguishedName, DnType, IsCa, Issuer, KeyPair,