mirror of
				https://github.com/kata-containers/kata-containers.git
				synced 2025-11-04 11:50:15 +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:
		@@ -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!(
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user