chore(iaas): switch to new SDK structure#1417
Conversation
|
This PR was marked as stale after 7 days of inactivity and will be closed after another 7 days of further inactivity. If this PR should be kept open, just add a comment, remove the stale label or push new commits to it. |
1655262 to
b50e572
Compare
relates to STACKITTPR-557
b50e572 to
a543c09
Compare
Merging this branch changes the coverage (11 decrease, 1 increase)
Coverage by fileChanged files (no unit tests)
Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code. Changed unit test files
|
| configModel.VideoModel = types.StringPointerValue(imageResp.Config.GetVideoModel()) | ||
| configModel.VirtioScsi = types.BoolPointerValue(new(imageResp.Config.GetVirtioScsi())) | ||
| configModel.VideoModel = types.StringPointerValue(imageResp.Config.VideoModel.Get()) | ||
| configModel.VirtioScsi = types.BoolPointerValue(imageResp.Config.VirtioScsi) |
There was a problem hiding this comment.
The change from GetVirtioScsi() to VirtioScsi results in a bug. GetVirtioScsi() returned always a boolean, even if the API didn't responded with one. And the direct access can results now in a state drift.
Probably this is an API issue, didn't checked it in detail. Can be reproduced by running the TestAccImageMax acc test
Description
relates to STACKITTPR-557
Checklist
make fmtexamples/directory)make generate-docs(will be checked by CI)make test(will be checked by CI)make lint(will be checked by CI)