Adjust + Test
This commit is contained in:
@@ -40,7 +40,7 @@ func (d *NativeTool) ClearEnv() utils.DBObject {
|
||||
func (d *NativeTool) Trim() {
|
||||
/* EMPTY */
|
||||
}
|
||||
func (w *NativeTool) SetAllowedInstances(request *tools.APIRequest) {
|
||||
func (w *NativeTool) SetAllowedInstances(request *tools.APIRequest, ids ...string) {
|
||||
/* EMPTY */
|
||||
}
|
||||
|
||||
@@ -55,10 +55,6 @@ func (w *NativeTool) ConvertToPricedResource(t tools.DataType, selectedInstance
|
||||
}, nil
|
||||
}
|
||||
|
||||
func (abs *NativeTool) RefineResourceByPartnership(peerID string) ResourceInterface {
|
||||
return abs
|
||||
}
|
||||
|
||||
func InitNative() {
|
||||
for _, kind := range []native_tools.NativeToolsEnum{native_tools.WORKFLOW_EVENT} {
|
||||
newNative := &NativeTool{}
|
||||
|
||||
Reference in New Issue
Block a user