From 78bb67fbf79bce6abed9d4e416ca1d10ed7dc12b Mon Sep 17 00:00:00 2001 From: Jason Cameron Date: Tue, 22 Apr 2025 20:31:19 -0400 Subject: fix: improve error handling and create the json encoder once #331 (#332) * fix: improve error handling for resource closing and JSON encoding in MakeChallenge * chore: update CHANGELOG with recent changes and improvements * refactor: simplify RenderIndex function and improve error handling --------- Signed-off-by: Jason Cameron --- cmd/containerbuild/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/containerbuild/main.go') diff --git a/cmd/containerbuild/main.go b/cmd/containerbuild/main.go index e7dceae..3cd7514 100644 --- a/cmd/containerbuild/main.go +++ b/cmd/containerbuild/main.go @@ -131,7 +131,7 @@ func parseImageList(imageList string) ([]image, error) { } if len(result) == 0 { - return nil, fmt.Errorf("no images provided, bad flags??") + return nil, fmt.Errorf("no images provided, bad flags") } return result, nil -- cgit v1.2.3