Skip to content

Commit

Permalink
Chore: use '=' to modify already declared variable
Browse files Browse the repository at this point in the history
  • Loading branch information
pini-gh committed Mar 23, 2023
1 parent 6c2ff83 commit 2e18ccf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nginx.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -478,8 +478,8 @@ server {
* vhostCert is actually a filename so remove any suffixes since they
* are added later.
*/}}
{{- $vhostCert := trimSuffix ".crt" $vhostCert }}
{{- $vhostCert := trimSuffix ".key" $vhostCert }}
{{- $vhostCert = trimSuffix ".crt" $vhostCert }}
{{- $vhostCert = trimSuffix ".key" $vhostCert }}

{{- /*
* Use the cert specified on the container or fallback to the best vhost
Expand Down

0 comments on commit 2e18ccf

Please sign in to comment.