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

upgrade github.com/hashicorp/go-getter to v2 #2865

Merged
merged 1 commit into from
Dec 23, 2022

Conversation

krrrr38
Copy link
Contributor

@krrrr38 krrrr38 commented Dec 23, 2022

what

  • upgrade github.com/hashicorp/go-getter to v2

why

#2857 cannot update go-getter, because latest go-getter is provided as different branch https://github.com/hashicorp/go-getter/tree/v2.

references

@krrrr38 krrrr38 requested a review from a team as a code owner December 23, 2022 08:39
return getter.GetFile(dst, src, opts...)
func (d *DefaultDownloader) GetFile(dst, src string) error {
_, err := getter.GetFile(context.Background(), dst, src)
return err
Copy link
Contributor Author

Choose a reason for hiding this comment

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

getter.GetFile first result contains dst only, so ignored.

Copy link
Member

@nitrocode nitrocode left a comment

Choose a reason for hiding this comment

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

Fantastic! Thank you again for upgrading this dependency!

@nitrocode nitrocode merged commit eca3b53 into runatlantis:main Dec 23, 2022
@nitrocode nitrocode added this to the 0.22.0 milestone Dec 23, 2022
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.

None yet

2 participants