Skip to content
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

Add strict_update flag to update using "status" : "replaced" #252

Merged
merged 3 commits into from
Dec 17, 2024

Conversation

jgomezve
Copy link
Collaborator

Fix #204

@@ -83,9 +83,12 @@ func (data {{camelCase .Name}}) getClassName() string {
return "{{.ClassName}}"
}

func (data {{camelCase .Name}}) toBody() nxos.Body {
func (data {{camelCase .Name}}) toBody(update bool) nxos.Body {
Copy link
Member

Choose a reason for hiding this comment

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

Can we maybe name this parameter "statusReplace" instead of "update" to better indicate the purpose? And maybe the same for the schema field: "strict_update" -> "status_replace". What do you think?

@SebaKP
Copy link

SebaKP commented Dec 5, 2024

Hi guys, is there a plan to get this fix implemented? I am unfortunately affected by this situation as well.
Thanks

@danischm danischm merged commit 30ee4f2 into main Dec 17, 2024
6 checks passed
@danischm danischm deleted the jg-dme-update branch December 17, 2024 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error when updating nxos_ipv4_access_list_entry resource
3 participants