From b6d0a5cada55e8b61ee5609fac26145f20e0efb4 Mon Sep 17 00:00:00 2001 From: "YiLin.Li" Date: Thu, 3 Sep 2020 14:13:36 +0000 Subject: [PATCH] shim/runtime/config: Fix return value error in the GetEnv function Signed-off-by: Yilin Li --- shim/runtime/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shim/runtime/config/config.go b/shim/runtime/config/config.go index 5eceefc..c83db91 100644 --- a/shim/runtime/config/config.go +++ b/shim/runtime/config/config.go @@ -81,7 +81,7 @@ func GetEnv(spec *specs.Spec, key string) (string, bool) { } return p[1], true } - return "", true + return "", false } func UpdateEnclaveEnvConfig(cPath string) error { -- GitLab