-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor/bgp peer #180
Refactor/bgp peer #180
Conversation
TTL string `mikrotik:"ttl"` | ||
UpdateSource string `mikrotik:"update-source"` | ||
UseBfd bool `mikrotik:"use-bfd"` | ||
Id string `mikrotik:".id" codegen:"id,mikrotikID"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this change also breaks the client
module
@@ -61,7 +61,11 @@ func GenericReadResource(terraformModel interface{}, mikrotikModel client.Resour | |||
return | |||
} | |||
|
|||
resource, err := client.Find(mikrotikModel) | |||
resource, err := mikrotikClient.Find(mikrotikModel) | |||
if client.IsNotFoundError(err) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this check was missing, so it was a bug.
I didn't create a separate pair of issue/PR for it, but let me know if you want it to be split for better visibility.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's ok to fix it inline here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the late review. lgtm!
No description provided.