提交 443df573 编写于 作者: W WangFengTu 提交者: lifeng68

set image size when create image

Signed-off-by: NWangFengTu <wangfengtu@huawei.com>
上级 028105ed
......@@ -741,6 +741,12 @@ static int register_image(pull_descriptor *desc)
goto out;
}
ret = storage_img_set_image_size(image_id);
if (ret != 0) {
ERROR("set image size failed for %s failed", image_id);
goto out;
}
out:
if (ret != 0 && image_created) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册