lcr/0026-sandboxer-add-image-type.patch
dongyuzhen 76de15dd1e sync from upstream
(cherry picked from commit 7fdf2c7f150be6dd38ff289f4128f41c3d78c643)
2025-05-13 20:16:07 +08:00

43 lines
1.2 KiB
Diff

From caae9c01e8ee2d30c343ef1f79a6a0b7835e3d60 Mon Sep 17 00:00:00 2001
From: liuxu <liuxu156@huawei.com>
Date: Sat, 8 Feb 2025 16:40:26 +0800
Subject: [PATCH] sandboxer:add image type
Signed-off-by: liuxu <liuxu156@huawei.com>
---
src/json/schema/container/sandbox-info.json | 3 +++
src/json/schema/defs.json | 3 +++
2 files changed, 6 insertions(+)
diff --git a/src/json/schema/container/sandbox-info.json b/src/json/schema/container/sandbox-info.json
index 1d5954a..ccff6a4 100644
--- a/src/json/schema/container/sandbox-info.json
+++ b/src/json/schema/container/sandbox-info.json
@@ -5,6 +5,9 @@
"sandboxer": {
"type": "string"
},
+ "ImageType": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
diff --git a/src/json/schema/defs.json b/src/json/schema/defs.json
index b313103..329d34a 100644
--- a/src/json/schema/defs.json
+++ b/src/json/schema/defs.json
@@ -315,6 +315,9 @@
},
"address": {
"type": "string"
+ },
+ "image-type": {
+ "type": "string"
}
}
}
--
2.34.1