Upgrade Workloads API version from 2023-04-01 to 2024-09-01#28825
Merged
stephybun merged 4 commits intohashicorp:mainfrom Feb 25, 2025
Merged
Upgrade Workloads API version from 2023-04-01 to 2024-09-01#28825stephybun merged 4 commits intohashicorp:mainfrom
Workloads API version from 2023-04-01 to 2024-09-01#28825stephybun merged 4 commits intohashicorp:mainfrom
Conversation
stephybun
suggested changes
Feb 25, 2025
| state.Identity = pointer.From(identity) | ||
|
|
||
| props := &model.Properties | ||
| props := model.Properties |
Member
There was a problem hiding this comment.
Since this is now a pointer we should be nil checking this like we do in other resources:
Suggested change
| props := model.Properties | |
| if props := model.Properties; props != nil { | |
| // set things into state here | |
| } |
| state.Identity = pointer.From(identity) | ||
|
|
||
| props := &model.Properties | ||
| props := model.Properties |
| state.Identity = pointer.From(identity) | ||
|
|
||
| props := &model.Properties | ||
| props := model.Properties |
stephybun
reviewed
Feb 25, 2025
Member
stephybun
left a comment
There was a problem hiding this comment.
Thanks @neil-yechenwei LGTM 👍
stephybun
approved these changes
Feb 25, 2025
jackofallops
added a commit
that referenced
this pull request
Feb 27, 2025
* Update CHANGELOG.md for #28840 * Update CHANGELOG.md #28808 * Update CHANGELOG.md #27962 * Update CHANGELOG.md for #28859 * Update for #28825 * Update CHANGELOG.md for #28864 * Update CHANGELOG.md #28539 * Update CHANGELOG.md #28685 * Update CHANGELOG.md for #28818 * Update for #28857 #28799 #28856 * Update for #28122 * Update for #28248 #27805 * Update for #28853 * Update for #28316 #28494 #28696 * Update for #28754 * Update CHANGELOG.md #28771 * Update CHANGELOG.md #28842 * Update for #28879 * Update for #28199 * Update CHANGELOG.md #28862 * prep for release v4.21.0 --------- Co-authored-by: sreallymatt <106555974+sreallymatt@users.noreply.github.com> Co-authored-by: Wodans Son <20408400+WodansSon@users.noreply.github.com> Co-authored-by: stephybun <steph@hashicorp.com> Co-authored-by: catriona-m <86247157+catriona-m@users.noreply.github.com> Co-authored-by: Matthew Frahry <mbfrahry@gmail.com> Co-authored-by: Wyatt Fry <wyattfry@gmail.com>
Contributor
|
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Community Note
Description
Service team asks us to support new feature on new API version 2024-09-01. So I need to upgrade API version first.
PR Checklist
For example: “
resource_name_here- description of change e.g. adding propertynew_property_name_here”Changes to existing Resource / Data Source
Testing
--- PASS: TestAccWorkloadsSAPDiscoveryVirtualInstanceSequential/sapVirtualInstance/basic (1133.72s)
--- PASS: TestAccWorkloadsSAPDiscoveryVirtualInstanceSequential/sapVirtualInstance/requiresImport (1043.39s)
--- PASS: TestAccWorkloadsSAPDiscoveryVirtualInstanceSequential/sapVirtualInstance/complete (1015.58s)
--- PASS: TestAccWorkloadsSAPDiscoveryVirtualInstanceSequential/sapVirtualInstance/update (2232.53s)
--- PASS: TestAccWorkloadsSAPSingleNodeVirtualInstance_basic (2217.08s)
--- PASS: TestAccWorkloadsSAPSingleNodeVirtualInstance_requiresImport (2222.53s)
--- PASS: TestAccWorkloadsSAPSingleNodeVirtualInstance_complete (2213.37s)
--- PASS: TestAccWorkloadsSAPSingleNodeVirtualInstance_update (2403.54s)
--- PASS: TestAccWorkloadsSAPThreeTierVirtualInstance_basic (3051.08s)
--- PASS: TestAccWorkloadsSAPThreeTierVirtualInstance_requiresImport (2942.76s)
--- PASS: TestAccWorkloadsSAPThreeTierVirtualInstance_complete (2999.09s)
--- PASS: TestAccWorkloadsSAPThreeTierVirtualInstance_update (3468.19s)
Change Log
Below please provide what should go into the changelog (if anything) conforming to the Changelog Format documented here.
WorkloadsAPI version from2023-04-01to2024-09-01This is a (please select all that apply):
Note
If this PR changes meaningfully during the course of review please update the title and description as required.