fix 编译错误的问题

This commit is contained in:
陈景阳
2019-09-30 19:24:35 +08:00
parent 0aa7d581b2
commit 6fbae93545

View File

@@ -1,6 +1,7 @@
package mock
import (
"crawlab/entity"
"crawlab/model"
"crawlab/services"
"github.com/apex/log"
@@ -97,14 +98,14 @@ var dataList = []services.Data{
},
}
var executeble = []model.Executable{
var executeble = []entity.Executable{
{
Path: "/test",
FileName: "test.py",
DisplayName: "test.py",
},
}
var systemInfo = model.SystemInfo{ARCH: "x86",
var systemInfo = entity.SystemInfo{ARCH: "x86",
OS: "linux",
Hostname: "test",
NumCpu: 4,