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)))) )