mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-17 22:34:25 +01:00
runtime: Add identification in version for runtime-rs
Now we are supporting two runtime/shim, the go version, and the rust version, for debug purposes, we can add an identification in the version info to tell us which runtime/shim is used. Fixes: #5806 Signed-off-by: Bin Liu <bin@hyper.sh>
This commit is contained in:
@@ -95,7 +95,7 @@ fn show_help(cmd: &OsStr) {
|
||||
|
||||
fn show_version(err: Option<anyhow::Error>) {
|
||||
let data = format!(
|
||||
r#"{} containerd shim: id: {}, version: {}, commit: {}"#,
|
||||
r#"{} containerd shim (Rust): id: {}, version: {}, commit: {}"#,
|
||||
config::PROJECT_NAME,
|
||||
config::CONTAINERD_RUNTIME_NAME,
|
||||
config::RUNTIME_VERSION,
|
||||
|
||||
Reference in New Issue
Block a user