remove unused parameters

This commit is contained in:
Clemens 2024-07-17 14:08:33 +02:00
parent 7fc4380bb0
commit 74d5a63bea
2 changed files with 2 additions and 3 deletions

View file

@ -44,8 +44,7 @@
(yaml/load-as-edn "monitoring/kube-state-metrics-service.yaml")]) (yaml/load-as-edn "monitoring/kube-state-metrics-service.yaml")])
(defn-spec generate-config seq? (defn-spec generate-config seq?
[config ::mon-cfg []
auth ::mon-auth]
[(yaml/load-as-edn "monitoring/namespace.yaml") [(yaml/load-as-edn "monitoring/namespace.yaml")
(yaml/load-as-edn "monitoring/prometheus-cluster-role.yaml") (yaml/load-as-edn "monitoring/prometheus-cluster-role.yaml")
(yaml/load-as-edn "monitoring/prometheus-cluster-role-binding.yaml") (yaml/load-as-edn "monitoring/prometheus-cluster-role-binding.yaml")

View file

@ -22,6 +22,6 @@
(is (= 17 (is (= 17
(count (cut/generate conf auth)))) (count (cut/generate conf auth))))
(is (= 16 (is (= 16
(count (cut/generate-config conf auth)))) (count (cut/generate-config))))
(is (= 1 (is (= 1
(count (cut/generate-auth conf auth))))) (count (cut/generate-auth conf auth)))))