Skip to content

Commit

Permalink
fix the attach/2 preparation
Browse files Browse the repository at this point in the history
  • Loading branch information
mruoss committed Oct 23, 2024
1 parent 55571cf commit 50a3911
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/kubegen/resource.ex
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,11 @@ defmodule Kubegen.Resource do
req_func =
quote do
defp req() do
unquote(kubeconfig_pipeline)
|> Kubereq.Kubeconfig.load()
|> Kubereq.attach(resource_path: @resource_path)
Req.new()
|> Kubereq.attach(
kubeconfig: unquote(kubeconfig_pipeline),
resource_path: @resource_path
)
end
end

Expand Down

0 comments on commit 50a3911

Please sign in to comment.