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

Use Kubereq.attach/2 in place of deprecated Kubereq.new/2 #38

Merged
merged 2 commits into from
Oct 23, 2024

Conversation

jsierles
Copy link
Contributor

@jsierles jsierles commented Oct 23, 2024

This fixes warnings issued by generated modules:

    warning: Kubereq.new/2 is deprecated. Use Kubereq.attach/2
    │
  5 │     Kubereq.Kubeconfig.Default |> Kubereq.Kubeconfig.load() |> Kubereq.new(@resource_path)

See #37

lib/kubegen/resource.ex Outdated Show resolved Hide resolved
@mruoss mruoss linked an issue Oct 23, 2024 that may be closed by this pull request
@mruoss
Copy link
Owner

mruoss commented Oct 23, 2024

@jsierles Thanks a lot for raising and fixing! Would you mind testing with main branch if there's other issues with the new version?

@mruoss mruoss merged commit 14fa173 into mruoss:main Oct 23, 2024
2 checks passed
@jsierles
Copy link
Contributor Author

Yep, I'm testing now.

@mruoss
Copy link
Owner

mruoss commented Oct 23, 2024

Note: I missed another bug here. I've pushed another commit right onto main.

@jsierles
Copy link
Contributor Author

Working great for me now, thanks!

@mruoss
Copy link
Owner

mruoss commented Oct 23, 2024

Thanks for testing

@mruoss
Copy link
Owner

mruoss commented Oct 23, 2024

released in v0.1.2

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.

Upgrade to newer version of kubereq
2 participants