about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2017-10-27T00·36+0200
committerVincent Ambo <tazjin@gmail.com>2017-10-27T00·55+0200
commit2574942338d5fda9dc3beb46dfc600707189de3d (patch)
treea61aeccdd6a7eab248ce323e671291d181291efa
parent68e2f99062952290b59699a83187e7a5058fac3d (diff)
fix main: Do not stop templater if a single resource set is empty
This fixes #91
-rw-r--r--main.go2
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 {