fix main: Do not stop templater if a single resource set is empty
This fixes #91
This commit is contained in:
parent
68e2f99062
commit
2574942338
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -85,7 +85,7 @@ func templateCommand() {
|
||||||
for _, rs := range *resourceSets {
|
for _, rs := range *resourceSets {
|
||||||
if len(rs.Resources) == 0 {
|
if len(rs.Resources) == 0 {
|
||||||
fmt.Fprintf(os.Stderr, "Warning: Resource set '%s' contains no valid templates\n", rs.Name)
|
fmt.Fprintf(os.Stderr, "Warning: Resource set '%s' contains no valid templates\n", rs.Name)
|
||||||
break
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, r := range rs.Resources {
|
for _, r := range rs.Resources {
|
||||||
|
|
Loading…
Reference in a new issue