We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f589ad4 commit 22833e4Copy full SHA for 22833e4
template.go
@@ -65,7 +65,7 @@ func generateFile(config Config, containers []*RuntimeContainer) bool {
65
66
var buf bytes.Buffer
67
multiwriter := io.MultiWriter(dest, &buf)
68
- err = tmpl.ExecuteTemplate(multiwriter, filepath.Base(templatePath), containers)
+ err = tmpl.ExecuteTemplate(multiwriter, filepath.Base(templatePath), filteredContainers)
69
if err != nil {
70
log.Fatalf("template error: %s\n", err)
71
}
0 commit comments