提交 b6d0a5ca 编写于 作者: Y YiLin.Li

shim/runtime/config: Fix return value error in the GetEnv function

Signed-off-by: NYilin Li <YiLin.Li@linux.alibaba.com>
上级 81c873f3
...@@ -81,7 +81,7 @@ func GetEnv(spec *specs.Spec, key string) (string, bool) { ...@@ -81,7 +81,7 @@ func GetEnv(spec *specs.Spec, key string) (string, bool) {
} }
return p[1], true return p[1], true
} }
return "", true return "", false
} }
func UpdateEnclaveEnvConfig(cPath string) error { func UpdateEnclaveEnvConfig(cPath string) error {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册