45 lines
1.2 KiB
Diff
45 lines
1.2 KiB
Diff
|
|
From b97efe68935c239fe539aa933ee4389ed73c8ec3 Mon Sep 17 00:00:00 2001
|
||
|
|
From: zhongtao <zhongtao17@huawei.com>
|
||
|
|
Date: Sat, 22 Feb 2025 10:48:24 +1400
|
||
|
|
Subject: [PATCH] move sandbox network_ready from metadata to state for save
|
||
|
|
optimization
|
||
|
|
|
||
|
|
Signed-off-by: zhongtao <zhongtao17@huawei.com>
|
||
|
|
---
|
||
|
|
src/json/schema/sandbox/metadata.json | 3 ---
|
||
|
|
src/json/schema/sandbox/state.json | 3 +++
|
||
|
|
2 files changed, 3 insertions(+), 3 deletions(-)
|
||
|
|
|
||
|
|
diff --git a/src/json/schema/sandbox/metadata.json b/src/json/schema/sandbox/metadata.json
|
||
|
|
index b3b6886..df9f6ab 100644
|
||
|
|
--- a/src/json/schema/sandbox/metadata.json
|
||
|
|
+++ b/src/json/schema/sandbox/metadata.json
|
||
|
|
@@ -31,9 +31,6 @@
|
||
|
|
"netNsPath": {
|
||
|
|
"type": "string"
|
||
|
|
},
|
||
|
|
- "networkReady": {
|
||
|
|
- "type": "boolean"
|
||
|
|
- },
|
||
|
|
"sandboxConfigJson": {
|
||
|
|
"type": "string"
|
||
|
|
}
|
||
|
|
diff --git a/src/json/schema/sandbox/state.json b/src/json/schema/sandbox/state.json
|
||
|
|
index ceb62b2..2eea0bc 100644
|
||
|
|
--- a/src/json/schema/sandbox/state.json
|
||
|
|
+++ b/src/json/schema/sandbox/state.json
|
||
|
|
@@ -19,6 +19,9 @@
|
||
|
|
},
|
||
|
|
"Status": {
|
||
|
|
"type": "integer"
|
||
|
|
+ },
|
||
|
|
+ "networkReady": {
|
||
|
|
+ "type": "boolean"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
\ No newline at end of file
|
||
|
|
--
|
||
|
|
2.43.0
|
||
|
|
|