From 6a0a878ea3da7960fdb322746927a5f03ec7ca43 Mon Sep 17 00:00:00 2001 From: durandguru <79765683+durandguru@users.noreply.github.com> Date: Wed, 24 Jan 2024 21:32:14 +0100 Subject: [PATCH] Update resource_interface_ethernet_switch_rule.go Fix Delete. Not an Systemresource --- routeros/resource_interface_ethernet_switch_rule.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routeros/resource_interface_ethernet_switch_rule.go b/routeros/resource_interface_ethernet_switch_rule.go index 9148a0e7..39b0a018 100644 --- a/routeros/resource_interface_ethernet_switch_rule.go +++ b/routeros/resource_interface_ethernet_switch_rule.go @@ -181,7 +181,7 @@ func ResourceInterfaceEthernetSwitchRule() *schema.Resource { CreateContext: DefaultCreate(resSchema), ReadContext: DefaultRead(resSchema), UpdateContext: DefaultUpdate(resSchema), - DeleteContext: DefaultSystemDelete(resSchema), + DeleteContext: DefaultDelete(resSchema), Importer: &schema.ResourceImporter{ StateContext: schema.ImportStatePassthroughContext,