-
Notifications
You must be signed in to change notification settings - Fork 108
Update secondary host references to standby in database resources #2194
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
Conversation
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.
Pull request overview
This PR updates database resource and data source implementations to rename "secondary host" references to "standby host" throughout the codebase, aligning with upstream API changes in linodego v1.62.0.
Key changes:
- Updated struct field tags from
host_secondarytohost_standbyacross all database resources - Modified schema descriptions to use "standby" terminology instead of "secondary"
- Updated linodego dependency from v1.61.0 to v1.62.0 and related transitive dependencies
Reviewed changes
Copilot reviewed 34 out of 35 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| go.mod | Bumped linodego to v1.62.0 and updated golang.org/x dependencies |
| linode/databases/* | Updated filter config, schema, models, and tests to use host_standby |
| linode/databasepostgresql/* | Renamed host_secondary to host_standby in schemas, models, and tests |
| linode/databasepostgresqlv2/* | Updated schemas and models to reference Standby field from linodego |
| linode/databasemysql/* | Renamed host_secondary to host_standby in schemas, models, and tests |
| linode/databasemysqlv2/* | Updated schemas and models to reference Standby field from linodego |
| docs/resources/* | Updated documentation to reference host_standby instead of host_secondary |
| docs/data-sources/* | Updated documentation to reference host_standby instead of host_secondary |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Pull request overview
Copilot reviewed 34 out of 35 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
62d38d8 to
bc6cb89
Compare
bc6cb89 to
a1333e9
Compare
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.
Pull request overview
Copilot reviewed 34 out of 35 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
📝 Description
Update secondary host to standby host to align with API changes.
✔️ How to Test
Or long running integration tests: