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

fix: Local iso upload in content library item #1665

Merged
merged 3 commits into from
Jun 15, 2022

Conversation

juanvalino
Copy link
Contributor

Description

This fixes local iso uploading in content library item.

Acceptance tests

  • Have you added an acceptance test for the functionality being added?
  • Have you run the acceptance tests on this branch?

Release Note

Release note for CHANGELOG:

Fix content library item local iso upload

References

Resolves #1664

@hashicorp-cla
Copy link

hashicorp-cla commented Jun 2, 2022

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions bot added provider Type: Provider size/xs Relative Sizing: Extra-Small labels Jun 2, 2022
@tenthirtyam tenthirtyam added this to the v2.2.0 milestone Jun 2, 2022
@tenthirtyam tenthirtyam added area/content-library Area: Content Library bug Type: Bug community/contribution Community: Contribution Help Wanted labels Jun 2, 2022
@tenthirtyam
Copy link
Collaborator

Hi @juanvalino,

Thanks for the contribution. The GHA tests are failing for the following:

gofmt needs running on the following files:
8
./vsphere/internal/helper/contentlibrary/content_library_helper.go
9
You can use the command: `make fmt` to reformat code.
10
make: *** [GNUmakefile:46: fmtcheck] Error 1
11
Error: Process completed with exit code 2.

Could you please run go fmt against the changed file and commit? That should take care of the issue.

Ryan Johnson
Staff II Solutions Architect | VMware, Inc.

@tenthirtyam tenthirtyam self-requested a review June 2, 2022 10:10
@juanvalino
Copy link
Contributor Author

@tenthirtyam I fixed the code format and now the tests seem to pass.

@tenthirtyam tenthirtyam requested a review from appilon June 2, 2022 10:15
@tenthirtyam tenthirtyam self-requested a review June 2, 2022 20:56
Copy link
Collaborator

@tenthirtyam tenthirtyam left a comment

Choose a reason for hiding this comment

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

Confirmed that this fix addresses the issue and works quite nicely. Tested with multiple ISOs being uploaded at the same time w/o any issue.

LGTM! 🚀

@juanvalino
Copy link
Contributor Author

@tenthirtyam, do you have any estimation for this merge?

@tenthirtyam
Copy link
Collaborator

Hi @juanvalino,

I've tagged the pull request for the v2.2.0 milestone and provider my review as a project collaborator. It still needs a review from the project maintainer ( @appilon ) before it can be merged.

Ryan Johnson
Staff II Solutions Architect | VMware, Inc.

@appilon appilon merged commit 8001b22 into hashicorp:main Jun 15, 2022
@tenthirtyam
Copy link
Collaborator

Thanks, Alex!

Ryan Johnson
Staff II Solutions Architect | VMware, Inc.

@tenthirtyam tenthirtyam removed the needs-review Status: Pull Request Needs Review label Jun 15, 2022
@github-actions
Copy link

This functionality has been released in v2.2.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@github-actions
Copy link

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 issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/content-library Area: Content Library bug Type: Bug community/contribution Community: Contribution Help Wanted provider Type: Provider size/xs Relative Sizing: Extra-Small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to upload local .iso with vsphere_content_library_item
4 participants