Skip to content

Commit

Permalink
fix(#102): Change property ID for bridge
Browse files Browse the repository at this point in the history
  • Loading branch information
gfenn-newbury committed Feb 16, 2023
1 parent 47e5f71 commit 37244cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routeros/resource_interface_bridge.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
func ResourceInterfaceBridge() *schema.Resource {
resSchema := map[string]*schema.Schema{
MetaResourcePath: PropResourcePath("/interface/bridge"),
MetaId: PropId(Name),
MetaId: PropId(Id),

KeyActualMtu: PropActualMtuRo,
"admin_mac": {
Expand Down

1 comment on commit 37244cf

@vaerh
Copy link
Collaborator

@vaerh vaerh commented on 37244cf Feb 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a breaking change #104 . You have to be careful with changing the key field. I will describe the solution later.

Please sign in to comment.