diff --git a/WatcherAgent/src/main.rs b/WatcherAgent/src/main.rs index 9261545..bcd6a57 100644 --- a/WatcherAgent/src/main.rs +++ b/WatcherAgent/src/main.rs @@ -1,6 +1,6 @@ use chrono::Utc; use nvml_wrapper::Nvml; -use reqwest::Client; +use reqwest::{Client, StatusCode}; use serde::{Deserialize, Serialize}; use std::{error::Error, fs, process::Command, time::Duration}; use sysinfo::{CpuExt, DiskExt, System, SystemExt};