lcr/0002-fix-layer-size-type-as-int64.patch
zhangxiaoyu a291c48708 fix update cpu-rt period failed and fix layer size type as int64
Signed-off-by: zhangxiaoyu <zhangxiaoyu58@huawei.com>
(cherry picked from commit f8cec86372b80b97a807a74ca1314651e2cdf2df)
2023-02-21 16:31:13 +08:00

27 lines
851 B
Diff

From 9e9fbc213ce485a53b8dee07ad923369096ae899 Mon Sep 17 00:00:00 2001
From: "Neil.wrz" <wangrunze13@huawei.com>
Date: Mon, 20 Feb 2023 22:24:30 -0800
Subject: [PATCH 2/2] fix layer size type as int64
Signed-off-by: Neil.wrz <wangrunze13@huawei.com>
---
src/json/schema/registry/manifest_schema2.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/json/schema/registry/manifest_schema2.json b/src/json/schema/registry/manifest_schema2.json
index 44f31db..78cc68c 100644
--- a/src/json/schema/registry/manifest_schema2.json
+++ b/src/json/schema/registry/manifest_schema2.json
@@ -44,7 +44,7 @@
"type": "string"
},
"size": {
- "type": "integer"
+ "type": "int64"
},
"digest": {
"$ref": "../defs.json#/definitions/digest"
--
2.25.1