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

Provide utility resource to upsert data model #74

Merged
merged 1 commit into from
Jun 19, 2024
Merged

Provide utility resource to upsert data model #74

merged 1 commit into from
Jun 19, 2024

Conversation

peterbroadhurst
Copy link
Member

This isn't quite like the other resources, as it's an update only (no-op read/delete), but it's useful to be able to use declarative syntax to write information about things like deployed smart contracts

@@ -85,7 +84,7 @@ func (r *ams_dmlistenerResource) Schema(_ context.Context, _ resource.SchemaRequ
}
}

func (data *AMSDMListenerResourceModel) toAPI(api *AMSDMListenerAPIModel, diagnostics *diag.Diagnostics) bool {
Copy link
Member Author

Choose a reason for hiding this comment

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

this was to address an un-used var ⚠️

@peterbroadhurst peterbroadhurst mentioned this pull request May 29, 2024
Copy link
Contributor

@hosie hosie left a comment

Choose a reason for hiding this comment

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

LGTM

@hosie hosie merged commit 5aa05a6 into v1.1 Jun 19, 2024
1 check passed
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.

2 participants