mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-17 22:34:25 +01:00
runtime-rs: remove the version number from the commit display message
The displayed commit message and version message are partially duplicated. Remove the version number from the commit display message. Fixes:#5735 Signed-off-by: Chen Taotao <chentt10@chinatelecom.cn>
This commit is contained in:
@@ -99,7 +99,7 @@ fn show_version(err: Option<anyhow::Error>) {
|
||||
config::PROJECT_NAME,
|
||||
config::CONTAINERD_RUNTIME_NAME,
|
||||
config::RUNTIME_VERSION,
|
||||
config::RUNTIME_VERSION_COMMIT,
|
||||
config::RUNTIME_GIT_COMMIT,
|
||||
);
|
||||
|
||||
if let Some(err) = err {
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
|
||||
pub const PROJECT_NAME: &str = "@PROJECT_NAME@";
|
||||
pub const RUNTIME_VERSION: &str = "@RUNTIME_VERSION@";
|
||||
pub const RUNTIME_VERSION_COMMIT: &str = "@VERSION_COMMIT@";
|
||||
pub const RUNTIME_GIT_COMMIT: &str = "@COMMIT@";
|
||||
pub const RUNTIME_NAME: &str = "@RUNTIME_NAME@";
|
||||
pub const CONTAINERD_RUNTIME_NAME: &str = "@CONTAINERD_RUNTIME_NAME@";
|
||||
|
||||
Reference in New Issue
Block a user