未验证 提交 71872a7c 编写于 作者: S stormgbs 提交者: GitHub

Merge pull request #146 from hustliyilin/lyl-sgx-tools

shim/runtime/v2/rune/v2: Fix the return value error of getCarrierKind
......@@ -138,7 +138,7 @@ func getCarrierKind(bundlePath string) (found bool, value rune.CarrierKind, err
}
v, ok := config.GetEnv(spec, constants.EnvKeyRuneCarrier)
if !ok {
return
return true, rune.Empty, nil
}
value = rune.CarrierKind(v)
if value == rune.Occlum || value == rune.Graphene || value == rune.Empty || value == rune.Skeleton {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册