Merge pull request #1291 from Random-Liu/fix-indent-cni

Fix indent in cni.template.
This commit is contained in:
Mike Brown
2019-09-23 19:52:31 -05:00
committed by GitHub

View File

@@ -8,7 +8,7 @@
"ipam": { "ipam": {
"type": "host-local", "type": "host-local",
"ranges": [{{range $i, $range := .PodCIDRRanges}}{{if $i}}, {{end}}[{"subnet": "{{$range}}"}]{{end}}], "ranges": [{{range $i, $range := .PodCIDRRanges}}{{if $i}}, {{end}}[{"subnet": "{{$range}}"}]{{end}}],
"routes": [{{range $i, $route := .Routes}}{{if $i}}, {{end}}{"dst": "{{$route}}"}{{end}}] "routes": [{{range $i, $route := .Routes}}{{if $i}}, {{end}}{"dst": "{{$route}}"}{{end}}]
} }
}, },
{ {