From 1f04ec9575dfd4f311ec797b0c68093036c0ee7e Mon Sep 17 00:00:00 2001 From: Jean-Yves Gastaud Date: Mon, 28 Sep 2020 11:24:14 +0200 Subject: [PATCH] fixes #401 Replace error generated by `quiet` option by a warning. Signed-off-by: Jean-Yves Gastaud --- commands/build.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/build.go b/commands/build.go index 24b4702f..fe1c9803 100644 --- a/commands/build.go +++ b/commands/build.go @@ -15,6 +15,7 @@ import ( "github.com/moby/buildkit/session/auth/authprovider" "github.com/moby/buildkit/util/appcontext" "github.com/pkg/errors" + "github.com/sirupsen/logrus" "github.com/spf13/cobra" "github.com/spf13/pflag" ) @@ -75,7 +76,7 @@ func runBuild(dockerCli command.Cli, in buildOptions) error { return errors.Errorf("squash currently not implemented") } if in.quiet { - return errors.Errorf("quiet currently not implemented") + logrus.Warnf("quiet currently not implemented") } ctx := appcontext.Context()