mirror of
https://github.com/ilya-zlobintsev/LACT.git
synced 2025-02-25 18:55:26 -06:00
chore: supress clippy warning
This commit is contained in:
parent
97b1b70946
commit
36b48e41b4
@ -596,6 +596,7 @@ impl GpuController {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::too_many_lines)]
|
||||||
pub async fn apply_config(&self, config: &config::Gpu) -> anyhow::Result<()> {
|
pub async fn apply_config(&self, config: &config::Gpu) -> anyhow::Result<()> {
|
||||||
if let Some(cap) = config.power_cap {
|
if let Some(cap) = config.power_cap {
|
||||||
let hw_mon = self.first_hw_mon()?;
|
let hw_mon = self.first_hw_mon()?;
|
||||||
|
Loading…
Reference in New Issue
Block a user