From f39b9f1a0885423f4a1aeb10eb893c55796a7101 Mon Sep 17 00:00:00 2001 From: ghostdsb Date: Mon, 26 Feb 2024 17:25:13 +0530 Subject: [PATCH] update ingress service format --- lib/discovery/resources/ingress.ex | 2 +- mix.exs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/discovery/resources/ingress.ex b/lib/discovery/resources/ingress.ex index 839f25d..3ffac25 100644 --- a/lib/discovery/resources/ingress.ex +++ b/lib/discovery/resources/ingress.ex @@ -107,7 +107,7 @@ defmodule Discovery.Resources.Ingress do |> get_in(["http", "paths"]) |> Enum.map(fn path_details -> path_details - |> get_in(["backend", "serviceName"]) + |> get_in(["backend", "service", "name"]) end) _ -> diff --git a/mix.exs b/mix.exs index 157d366..3faf07f 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule Discovery.MixProject do use Mix.Project - @version "0.2.3" + @version "0.2.4" def project do [