diff options
author | Vincent Ambo <tazjin@gmail.com> | 2017-10-27T00·36+0200 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2017-10-27T00·55+0200 |
commit | 2574942338d5fda9dc3beb46dfc600707189de3d (patch) | |
tree | a61aeccdd6a7eab248ce323e671291d181291efa | |
parent | 68e2f99062952290b59699a83187e7a5058fac3d (diff) |
fix main: Do not stop templater if a single resource set is empty
This fixes #91
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go index 0ff50a80f9c5..574403cbf929 100644 --- a/main.go +++ b/main.go @@ -85,7 +85,7 @@ func templateCommand() { for _, rs := range *resourceSets { if len(rs.Resources) == 0 { fmt.Fprintf(os.Stderr, "Warning: Resource set '%s' contains no valid templates\n", rs.Name) - break + continue } for _, r := range rs.Resources { |