mirror of
https://github.com/eolinker/apinto
synced 2025-10-21 15:59:27 +08:00
删除所有插件实例配置里的无用字段
This commit is contained in:
@@ -13,7 +13,6 @@ type Driver struct {
|
||||
configType reflect.Type
|
||||
}
|
||||
|
||||
|
||||
func (d *Driver) Check(v interface{}, workers map[eosc.RequireId]interface{}) error {
|
||||
_, err := d.check(v)
|
||||
return err
|
||||
@@ -43,8 +42,7 @@ func (d *Driver) Create(id, name string, v interface{}, workers map[eosc.Require
|
||||
c := &Gzip{
|
||||
Driver: d,
|
||||
id: id,
|
||||
name: name,
|
||||
conf: conf,
|
||||
conf: conf,
|
||||
}
|
||||
return c, nil
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user