mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 04:04:45 +00:00
agent: fix typo in constant
It fixes a constant name to have the right spelling Fixes: #7457 Signed-off-by: Alakesh Haloi <a_haloi@apple.com>
This commit is contained in:
parent
5385ddc560
commit
314aec73d4
@ -433,7 +433,7 @@ fn online_resources(logger: &Logger, path: &str, pattern: &str, num: i32) -> Res
|
||||
}
|
||||
|
||||
// max wait for all CPUs to online will use 50 * 100 = 5 seconds.
|
||||
const ONLINE_CPUMEM_WATI_MILLIS: u64 = 50;
|
||||
const ONLINE_CPUMEM_WAIT_MILLIS: u64 = 50;
|
||||
const ONLINE_CPUMEM_MAX_RETRIES: i32 = 100;
|
||||
|
||||
#[instrument]
|
||||
@ -463,7 +463,7 @@ fn online_cpus(logger: &Logger, num: i32) -> Result<i32> {
|
||||
);
|
||||
return Ok(num);
|
||||
}
|
||||
thread::sleep(time::Duration::from_millis(ONLINE_CPUMEM_WATI_MILLIS));
|
||||
thread::sleep(time::Duration::from_millis(ONLINE_CPUMEM_WAIT_MILLIS));
|
||||
}
|
||||
|
||||
Err(anyhow!(
|
||||
|
Loading…
Reference in New Issue
Block a user