Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

Commit

Permalink
Fix rendering for openICMP
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicgunn committed May 29, 2020
1 parent a43cd06 commit ba4664d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion builtin/files/stack-templates/control-plane.json.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@
"ToPort": -1
},
{{end -}}
{{ range $_, $r := $.SSHAccessAllowedSourceCIDRs -}}
{{ range $i, $r := $.SSHAccessAllowedSourceCIDRs -}}
{{if gt $i 0}},{{end}}
{
"CidrIp": "{{$r}}",
"FromPort": 22,
Expand Down

0 comments on commit ba4664d

Please sign in to comment.