修改错误调用

pull/1/head
Doflatango 2017-03-16 10:30:31 +08:00 committed by miraclesu
parent ff490592a6
commit 3c9e1c886d
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ func GetProcFromKey(key string) (proc *Process, err error) {
ss := strings.Split(key, "/")
var sslen = len(ss)
if sslen < 5 {
err = fmt.Errorf("invalid proc key [%s]", err.Error())
err = fmt.Errorf("invalid proc key [%s]", key)
return
}