Merge pull request #403 from jygastaud/master

fixes #401 : Replace error generated by `quiet` option by a warning.
This commit is contained in:
Tõnis Tiigi 2020-12-07 20:57:09 -08:00 committed by GitHub
commit 517df133e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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()