Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
iSulad
提交
1352f7bd
I
iSulad
项目概览
openeuler
/
iSulad
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
I
iSulad
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
1352f7bd
编写于
4月 03, 2020
作者:
O
openeuler-ci-bot
提交者:
Gitee
4月 03, 2020
浏览文件
操作
浏览文件
下载
差异文件
!167 Get driver's metadata only when it's oci image
Merge pull request !167 from wangfengtu/only_oci
上级
dc954683
243d4d4d
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
8 addition
and
6 deletion
+8
-6
CMakeLists.txt
CMakeLists.txt
+1
-1
iSulad.spec
iSulad.spec
+1
-1
src/services/execution/execute/execution_information.c
src/services/execution/execute/execution_information.c
+6
-4
未找到文件。
CMakeLists.txt
浏览文件 @
1352f7bd
...
...
@@ -9,7 +9,7 @@ include(cmake/set_build_flags.cmake)
#set(CMAKE_C_COMPILER "gcc" CACHE PATH "c compiler")
set
(
GIT_COMMIT_HASH
"
5bb8c3f59aa1d1c9a7ec543eeca97e54059942c1
"
)
set
(
GIT_COMMIT_HASH
"
836228b6be4f000597c484a2862564134d25d9d0
"
)
message
(
"-- commit id: "
${
GIT_COMMIT_HASH
}
)
add_definitions
(
-DISULAD_GIT_COMMIT=
"
${
GIT_COMMIT_HASH
}
"
)
...
...
iSulad.spec
浏览文件 @
1352f7bd
%global _version 2.0.0
%global _release 2020040
2.163225.git5bb8c3f5
%global _release 2020040
3.055852.git836228b6
%global is_systemd 1
%global debug_package %{nil}
...
...
src/services/execution/execute/execution_information.c
浏览文件 @
1352f7bd
...
...
@@ -1345,10 +1345,12 @@ static int pack_inspect_data(const container_t *cont, container_inspect **out_in
}
#ifdef ENABLE_OCI_IMAGE
inspect
->
graph_driver
=
graphdriver_get_metadata
(
cont
->
common_config
->
id
);
if
(
inspect
->
graph_driver
==
NULL
)
{
ret
=
-
1
;
goto
out
;
if
(
!
strcmp
(
cont
->
common_config
->
image_type
,
IMAGE_TYPE_OCI
))
{
inspect
->
graph_driver
=
graphdriver_get_metadata
(
cont
->
common_config
->
id
);
if
(
inspect
->
graph_driver
==
NULL
)
{
ret
=
-
1
;
goto
out
;
}
}
#endif
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录