Further split flow control
This commit is contained in:
parent
56b843981f
commit
260d086232
1 changed files with 3 additions and 2 deletions
|
@ -51,8 +51,9 @@
|
||||||
(forgejo/generate-appini-env config)
|
(forgejo/generate-appini-env config)
|
||||||
(forgejo/generate-secrets auth)]
|
(forgejo/generate-secrets auth)]
|
||||||
(when (contains? config :average)
|
(when (contains? config :average)
|
||||||
(forgejo/generate-rate-limit-ingress-and-cert config) ; this function has a vector as output
|
(forgejo/generate-rate-limit-ingress-and-cert config)) ; this function has a vector as output
|
||||||
[(forgejo/generate-rate-limit-middleware config)]) ; this does not
|
(when (contains? config :average)
|
||||||
|
[(forgejo/generate-rate-limit-middleware config)]) ; this does not
|
||||||
(when (not (contains? config :average))
|
(when (not (contains? config :average))
|
||||||
(forgejo/generate-ingress-and-cert config))
|
(forgejo/generate-ingress-and-cert config))
|
||||||
(when (contains? config :restic-repository)
|
(when (contains? config :restic-repository)
|
||||||
|
|
Loading…
Reference in a new issue