From 2574942338d5fda9dc3beb46dfc600707189de3d Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 27 Oct 2017 02:36:27 +0200 Subject: fix main: Do not stop templater if a single resource set is empty This fixes #91 --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index 0ff50a80f9..574403cbf9 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 { -- cgit 1.4.1