From 529e7d46b6ff4b6724651d7fcd9246a469e7cf81 Mon Sep 17 00:00:00 2001 From: Clemens Date: Fri, 2 Dec 2022 12:03:48 +0100 Subject: [PATCH] [SKIP-CI] Renamed function --- src/main/cljc/dda/c4k_website/website.cljc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/cljc/dda/c4k_website/website.cljc b/src/main/cljc/dda/c4k_website/website.cljc index 446cba1..cecf5f7 100644 --- a/src/main/cljc/dda/c4k_website/website.cljc +++ b/src/main/cljc/dda/c4k_website/website.cljc @@ -98,7 +98,7 @@ branch string?] (str "https://" host "/api/v1/repos/" user "/" repo "/archive/" branch ".zip")) -(defn-spec replace-all-matching-subvalues-in-string-start pred/map-or-seq? +(defn-spec replace-all-matching-substrings-beginning-with pred/map-or-seq? [col pred/map-or-seq? value-to-partly-match string? value-to-inplace string?] @@ -114,7 +114,7 @@ (-> (yaml/load-as-edn resource-file) (assoc-in [:metadata :labels :app.kubernetes.part-of] (generate-app-name unique-name)) - (replace-all-matching-subvalues-in-string-start "NAME" (replace-dots-by-minus unique-name))))) + (replace-all-matching-substrings-beginning-with "NAME" (replace-dots-by-minus unique-name))))) (defn-spec replace-build-data pred/map-or-seq? [resource-file string?