vmm: seccomp: rename Thread::Api to Thread::HttpApi

Signed-off-by: Omer Faruk Bayram <omer.faruk@sartura.hr>
This commit is contained in:
Omer Faruk Bayram
2023-05-20 12:37:44 +03:00
committed by Bo Chen
parent f00df25d40
commit f2c813e1cf
2 changed files with 5 additions and 5 deletions

View File

@@ -284,7 +284,7 @@ fn start_http_thread(
hypervisor_type: HypervisorType,
) -> Result<thread::JoinHandle<Result<()>>> {
// Retrieve seccomp filter for API thread
let api_seccomp_filter = get_seccomp_filter(seccomp_action, Thread::Api, hypervisor_type)
let api_seccomp_filter = get_seccomp_filter(seccomp_action, Thread::HttpApi, hypervisor_type)
.map_err(VmmError::CreateSeccompFilter)?;
thread::Builder::new()