From 90617d25f6b352a5623ecb7c46876274f3624681 Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期二, 24 十二月 2019 09:06:20 +0800
Subject: [PATCH] update
---
run.go | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/run.go b/run.go
index f7e9e12..f915794 100644
--- a/run.go
+++ b/run.go
@@ -28,11 +28,11 @@
shm bool
ipc2Rule string
ruleMsgMaxCacheSize int
- reserved map[string]string
+ reserved map[string]interface{}
}
// Create create sdk
-func Create(config string, typ, id string, gpu int, shm bool, ipc2Rule string, ruleMaxSize int, fn func(...interface{}), reserved map[string]string) interface{} {
+func Create(config string, typ, id string, gpu int, shm bool, ipc2Rule string, ruleMaxSize int, fn func(...interface{}), reserved map[string]interface{}) interface{} {
handle := NewSDK(fn)
if handle == nil {
--
Gitblit v1.8.0