osbuild-pipeline: make blueprint optional

If no blueprint is provided, consider that the same as the empty
blueprint.

Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
Tom Gundersen 2020-03-12 20:56:46 +01:00 committed by jkozol
parent 972b7c1181
commit 40040f2cc8

View file

@ -35,7 +35,7 @@ func main() {
flag.Parse()
// Print help usage if one of the required arguments wasn't provided
if imageType == "" || blueprintArg == "" || archArg == "" || distroArg == "" {
if imageType == "" || archArg == "" || distroArg == "" {
flag.Usage()
return
}