From ff38e1ca2d652de9da7b7ed4ee35cda492019707 Mon Sep 17 00:00:00 2001 From: Jan Krebs Date: Tue, 25 May 2021 13:54:24 +0200 Subject: [PATCH] Update function name --- src/main/cljc/dda/k8s_keycloak/core.cljc | 2 +- src/test/cljc/dda/k8s_keycloak/core_test.cljc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/cljc/dda/k8s_keycloak/core.cljc b/src/main/cljc/dda/k8s_keycloak/core.cljc index 32ce0ff..803e223 100644 --- a/src/main/cljc/dda/k8s_keycloak/core.cljc +++ b/src/main/cljc/dda/k8s_keycloak/core.cljc @@ -27,7 +27,7 @@ (def auth? (s/keys :req-un [::user-name ::user-password])) -(defn replace-values-in-vector +(defn replace-values-in-map [map keys value] ) diff --git a/src/test/cljc/dda/k8s_keycloak/core_test.cljc b/src/test/cljc/dda/k8s_keycloak/core_test.cljc index 2f0c543..196e80e 100644 --- a/src/test/cljc/dda/k8s_keycloak/core_test.cljc +++ b/src/test/cljc/dda/k8s_keycloak/core_test.cljc @@ -94,7 +94,7 @@ {:host fqdn :http {:paths [{:backend {:serviceName "another_keycloak" :servicePort 8081}}]}}]))] - (is (= desired-result (cut/replace-values-in-vector ingress-yaml [:spec :rules :host] fqdn)))) + (is (= desired-result (cut/replace-values-in-map ingress-yaml [:spec :rules :host] fqdn)))) )