Skip to content

Commit 027d485

Browse files
committed
Chore: use '=' to modify already declared variable
1 parent e89d6ba commit 027d485

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nginx.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,8 +433,8 @@ server {
433433
* vhostCert is actually a filename so remove any suffixes since they
434434
* are added later.
435435
*/}}
436-
{{- $vhostCert := trimSuffix ".crt" $vhostCert }}
437-
{{- $vhostCert := trimSuffix ".key" $vhostCert }}
436+
{{- $vhostCert = trimSuffix ".crt" $vhostCert }}
437+
{{- $vhostCert = trimSuffix ".key" $vhostCert }}
438438

439439
{{- /*
440440
* Use the cert specified on the container or fallback to the best vhost

0 commit comments

Comments
 (0)