Commit a5f33c04 authored by linj's avatar linj Committed by linj

fix type

parent da1a20b4
...@@ -17,8 +17,9 @@ var tlog = log.New("module", name) ...@@ -17,8 +17,9 @@ var tlog = log.New("module", name)
func init() { func init() {
name = UnfreezeX name = UnfreezeX
types.AllowUserExec = append(types.AllowUserExec, []byte(UnfreezeX))
// init executor type // init executor type
types.RegistorExecutor(name, &UnfreezeType{}) types.RegistorExecutor(name, NewType())
} }
//getRealExecName //getRealExecName
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment