patch middleware generation on common
This commit is contained in:
parent
77bad93362
commit
a8ea08cdec
|
@ -18,4 +18,4 @@ maintainers:
|
||||||
name: common
|
name: common
|
||||||
sources:
|
sources:
|
||||||
type: library
|
type: library
|
||||||
version: 6.4.1
|
version: 6.4.2
|
||||||
|
|
|
@ -44,8 +44,10 @@ within the common library.
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{- if $fixedMiddlewares }}
|
{{- if and ( $fixedMiddlewares ) ( $middlewares ) }}
|
||||||
{{ $middlewares = ( printf "%v, %v" $fixedMiddlewares $middlewares ) }}
|
{{ $middlewares = ( printf "%v, %v" $fixedMiddlewares $middlewares ) }}
|
||||||
|
{{- else if $fixedMiddlewares }}
|
||||||
|
{{ $middlewares = ( printf "%s" $fixedMiddlewares ) }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
Loading…
Reference in New Issue