提交 b27065b4 编写于 作者: Y YiLin.Li 提交者: jia zhang

rune/libenclave: Format code style

Signed-off-by: NYilin Li <YiLin.Li@linux.alibaba.com>
上级 81c873f3
...@@ -31,11 +31,11 @@ func (pal *enclaveRuntimePal) Init(args string, logLevel string) error { ...@@ -31,11 +31,11 @@ func (pal *enclaveRuntimePal) Init(args string, logLevel string) error {
api := &enclaveRuntimePalApiV1{} api := &enclaveRuntimePalApiV1{}
ver := api.get_version() ver := api.get_version()
if ver > palApiVersion { if ver > palApiVersion {
return fmt.Errorf("unsupported pal api version %d", ver) return fmt.Errorf("unsupported pal api version %d", ver)
} }
pal.version = ver pal.version = ver
C.workaround_nanosleep(); C.workaround_nanosleep()
return api.init(args, logLevel) return api.init(args, logLevel)
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册