Skip to content

Commit 14fa173

Browse files
authored
Merge pull request #38 from superfly/js-update-kubereq
Use Kubereq.attach/2 in place of deprecated Kubereq.new/2
2 parents 4ba9a18 + 29e7bce commit 14fa173

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/kubegen/resource.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ defmodule Kubegen.Resource do
7171
defp req() do
7272
unquote(kubeconfig_pipeline)
7373
|> Kubereq.Kubeconfig.load()
74-
|> Kubereq.new(@resource_path)
74+
|> Kubereq.attach(resource_path: @resource_path)
7575
end
7676
end
7777

0 commit comments

Comments
 (0)