mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-28 19:54:35 +00:00
agent/rustjail: (trivial) Clean up comment on process_grpc_to_oci()
This comment appears to be connected specifically with this function, but has some other items separating it for no particular reason. It also has a typo. Correct both. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
210f39a46f
commit
3f5fdae0d8
@ -58,13 +58,12 @@ pub mod validator;
|
||||
// pub mod user;
|
||||
//pub mod intelrdt;
|
||||
|
||||
use protocols::oci as grpc;
|
||||
|
||||
// construtc ociSpec from grpc::Spec, which is needed for hook
|
||||
// execution. since hooks read config.json
|
||||
|
||||
use std::collections::HashMap;
|
||||
|
||||
use protocols::oci as grpc;
|
||||
|
||||
// construct ociSpec from grpc::Spec, which is needed for hook
|
||||
// execution. since hooks read config.json
|
||||
pub fn process_grpc_to_oci(p: &grpc::Process) -> oci::Process {
|
||||
let console_size = if p.ConsoleSize.is_some() {
|
||||
let c = p.ConsoleSize.as_ref().unwrap();
|
||||
|
Loading…
Reference in New Issue
Block a user