mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-10 05:27:07 +08:00
fixes #401
Replace error generated by `quiet` option by a warning. Signed-off-by: Jean-Yves Gastaud <jygastaud@gmail.com>
This commit is contained in:
@ -15,6 +15,7 @@ import (
|
|||||||
"github.com/moby/buildkit/session/auth/authprovider"
|
"github.com/moby/buildkit/session/auth/authprovider"
|
||||||
"github.com/moby/buildkit/util/appcontext"
|
"github.com/moby/buildkit/util/appcontext"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/sirupsen/logrus"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"github.com/spf13/pflag"
|
"github.com/spf13/pflag"
|
||||||
)
|
)
|
||||||
@ -75,7 +76,7 @@ func runBuild(dockerCli command.Cli, in buildOptions) error {
|
|||||||
return errors.Errorf("squash currently not implemented")
|
return errors.Errorf("squash currently not implemented")
|
||||||
}
|
}
|
||||||
if in.quiet {
|
if in.quiet {
|
||||||
return errors.Errorf("quiet currently not implemented")
|
logrus.Warnf("quiet currently not implemented")
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx := appcontext.Context()
|
ctx := appcontext.Context()
|
||||||
|
Reference in New Issue
Block a user