From b91830fc9440e69fd85120a0c4ac99858683d5ad Mon Sep 17 00:00:00 2001 From: michaeljguarino Date: Fri, 13 Jan 2023 11:17:23 -0500 Subject: [PATCH] use handbuilt request for link --- lib/console/watchers/pod.ex | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/console/watchers/pod.ex b/lib/console/watchers/pod.ex index eb41f63c0c..47ddaecbcb 100644 --- a/lib/console/watchers/pod.ex +++ b/lib/console/watchers/pod.ex @@ -4,7 +4,12 @@ defmodule Console.Watchers.Pod do def handle_info(:start, state) do Logger.info "starting pod watcher" - request = CoreV1.list_pod_for_all_namespaces!() + request = %Kazan.Request{ + method: "get", + path: "/api/v1/pods", + query_params: %{}, + response_model: CoreV1.Pod + } {:ok, pid} = Watcher.start_link(request, send_to: self(), recv_timeout: 15_000) :timer.send_interval(5000, :watcher_ping)