26 lines
915 B
Diff
26 lines
915 B
Diff
|
|
From fe03c12676b8a48a2aede2d177f2cbcbdd68f930 Mon Sep 17 00:00:00 2001
|
||
|
|
From: jake <jikai11@huawei.com>
|
||
|
|
Date: Sat, 25 Nov 2023 03:34:01 +0000
|
||
|
|
Subject: [PATCH 34/64] !2277 remove shim v2 format error log * remove shim v2
|
||
|
|
format error log
|
||
|
|
|
||
|
|
---
|
||
|
|
src/daemon/modules/runtime/shim/shim_rt_ops.c | 1 -
|
||
|
|
1 file changed, 1 deletion(-)
|
||
|
|
|
||
|
|
diff --git a/src/daemon/modules/runtime/shim/shim_rt_ops.c b/src/daemon/modules/runtime/shim/shim_rt_ops.c
|
||
|
|
index 1bc9dc54..5066f804 100644
|
||
|
|
--- a/src/daemon/modules/runtime/shim/shim_rt_ops.c
|
||
|
|
+++ b/src/daemon/modules/runtime/shim/shim_rt_ops.c
|
||
|
|
@@ -115,7 +115,6 @@ bool is_valid_v2_runtime(const char* name)
|
||
|
|
|
||
|
|
parts_len = util_array_len((const char **)parts);
|
||
|
|
if (!(parts_len == 4 && strcmp(parts[0], "io") == 0 && strcmp(parts[1], "containerd") == 0)) {
|
||
|
|
- ERROR("ShimV2 runtime format is wrong");
|
||
|
|
util_free_array(parts);
|
||
|
|
return false;
|
||
|
|
}
|
||
|
|
--
|
||
|
|
2.42.0
|
||
|
|
|