From d3142c74350e9503f82406106874da4b0d05e1b2 Mon Sep 17 00:00:00 2001 From: Chris Baumbauer Date: Wed, 19 Oct 2016 09:29:04 -0700 Subject: [PATCH] wrong global --bundle/--dab input #198 --- cli/app/app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/app/app.go b/cli/app/app.go index 0ddc551f..389722c2 100644 --- a/cli/app/app.go +++ b/cli/app/app.go @@ -71,7 +71,7 @@ func validateFlags(c *cli.Context, opt *kobject.ConvertOptions) { opt.InputFile = dabFile } - if len(dabFile) > 0 && len(opt.InputFile) > 0 && opt.InputFile != DefaultComposeFile { + if len(dabFile) > 0 && c.GlobalIsSet("file") { logrus.Fatalf("Error: 'compose' file and 'dab' file cannot be specified at the same time") } }